diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-11 03:39:11 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-11 03:39:11 (GMT) |
commit | a9bc168f95408be86e79365a075d069465a06434 (patch) | |
tree | 23e51b68d897f081bdc1df93e84239356b916a1b /Lib/test/test_datetime.py | |
parent | a032d2eb7f547a8850f78f825c00298206f53f69 (diff) | |
download | cpython-a9bc168f95408be86e79365a075d069465a06434.zip cpython-a9bc168f95408be86e79365a075d069465a06434.tar.gz cpython-a9bc168f95408be86e79365a075d069465a06434.tar.bz2 |
Got rid of the internal datetimetz type.
Diffstat (limited to 'Lib/test/test_datetime.py')
-rw-r--r-- | Lib/test/test_datetime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py index 0cda5d0..a46e3ca 100644 --- a/Lib/test/test_datetime.py +++ b/Lib/test/test_datetime.py @@ -2076,7 +2076,7 @@ class TestDateTimeTZ(TestDateTime, TZInfoBase): tinfo = PicklableFixedOffset(-300, 'cookie') orig = self.theclass(*args, **{'tzinfo': tinfo}) state = orig.__getstate__() - derived = self.theclass(1, 1, 1) + derived = self.theclass(1, 1, 1, tzinfo=FixedOffset(0, "", 0)) derived.__setstate__(state) self.assertEqual(orig, derived) self.failUnless(isinstance(derived.tzinfo, PicklableFixedOffset)) |