Issue 10825: Minor updates to the test suite.

This commit is contained in:
Raymond Hettinger 2011-01-06 05:34:17 +00:00
parent 90a4b3162e
commit 7beae8a0d5
4 changed files with 10 additions and 10 deletions

View file

@ -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)