mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue 10825: Minor updates to the test suite.
This commit is contained in:
parent
90a4b3162e
commit
7beae8a0d5
4 changed files with 10 additions and 10 deletions
|
@ -202,7 +202,7 @@ class TestTimeZone(unittest.TestCase):
|
|||
|
||||
|
||||
def test_dst(self):
|
||||
self.assertEqual(None, timezone.utc.dst(self.DT))
|
||||
self.assertIsNone(timezone.utc.dst(self.DT))
|
||||
|
||||
with self.assertRaises(TypeError): self.EST.dst('')
|
||||
with self.assertRaises(TypeError): self.EST.dst(5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue