summaryrefslogtreecommitdiffstats
path: root/Lib/test/datetimetester.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-06 05:34:17 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-06 05:34:17 (GMT)
commit7beae8a0d567022f959c70f0be367ced7af65808 (patch)
treea84cff32b0d73598d3bebb1e8c0ad97ad197792a /Lib/test/datetimetester.py
parent90a4b3162e6a6c39519d5b3c1be39accbf568db6 (diff)
downloadcpython-7beae8a0d567022f959c70f0be367ced7af65808.zip
cpython-7beae8a0d567022f959c70f0be367ced7af65808.tar.gz
cpython-7beae8a0d567022f959c70f0be367ced7af65808.tar.bz2
Issue 10825: Minor updates to the test suite.
Diffstat (limited to 'Lib/test/datetimetester.py')
-rw-r--r--Lib/test/datetimetester.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py
index dddf0f8..b5822cc 100644
--- a/Lib/test/datetimetester.py
+++ b/Lib/test/datetimetester.py
@@ -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)