summaryrefslogtreecommitdiff
path: root/Lib/test/test_datetime.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-23 15:40:09 +0000
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-23 15:40:09 +0000
commit7f2a5fb7d00e7ff1cfe23217051728c79381bb3d (patch)
tree88c64d51ed4199316dcda5c3644b3ea1c80598db /Lib/test/test_datetime.py
parentf2b27c8f710f2f552108eda4758787d0a050cd78 (diff)
downloadcpython-7f2a5fb7d00e7ff1cfe23217051728c79381bb3d.tar.gz
use assert[Not]In where appropriate
Diffstat (limited to 'Lib/test/test_datetime.py')
-rw-r--r--Lib/test/test_datetime.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py
index 01a031a291..658b390fc1 100644
--- a/Lib/test/test_datetime.py
+++ b/Lib/test/test_datetime.py
@@ -140,10 +140,7 @@ class HarmlessMixedComparison:
self.assertTrue(() != me)
self.assertIn(me, [1, 20, [], me])
- self.assertFalse(me not in [1, 20, [], me])
-
self.assertIn([], [me, 1, 20, []])
- self.assertFalse([] not in [me, 1, 20, []])
def test_harmful_mixed_comparison(self):
me = self.theclass(1, 1, 1)