Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
python-Twisted
test-mktime-invalid-tm_isdst.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File test-mktime-invalid-tm_isdst.patch of Package python-Twisted
Index: Twisted-18.9.0/src/twisted/test/test_log.py =================================================================== --- Twisted-18.9.0.orig/src/twisted/test/test_log.py +++ Twisted-18.9.0/src/twisted/test/test_log.py @@ -456,13 +456,13 @@ class FileObserverTests(LogPublisherTest # Compute a POSIX timestamp for a certain date and time that is # known to occur at a time when daylight saving time is in effect. - localDaylightTuple = (2006, 6, 30, 0, 0, 0, 4, 181, 1) + localDaylightTuple = (2006, 6, 30, 0, 0, 0, 4, 181, -1) daylight = time.mktime(localDaylightTuple) # Compute a POSIX timestamp for a certain date and time that is # known to occur at a time when daylight saving time is not in # effect. - localStandardTuple = (2007, 1, 31, 0, 0, 0, 2, 31, 0) + localStandardTuple = (2007, 1, 31, 0, 0, 0, 2, 31, -1) standard = time.mktime(localStandardTuple) self.assertEqual(
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor