summaryrefslogtreecommitdiff
path: root/Lib/test/test_operator.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_operator.py')
-rw-r--r--Lib/test/test_operator.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py
index b7e38c2334..cf3439fe6f 100644
--- a/Lib/test/test_operator.py
+++ b/Lib/test/test_operator.py
@@ -45,18 +45,6 @@ class BadIterable:
class OperatorTestCase:
- def test___all__(self):
- operator = self.module
- actual_all = set(operator.__all__)
- computed_all = set()
- for name in vars(operator):
- if name.startswith('__'):
- continue
- value = getattr(operator, name)
- if value.__module__ in ('operator', '_operator'):
- computed_all.add(name)
- self.assertSetEqual(computed_all, actual_all)
-
def test_lt(self):
operator = self.module
self.assertRaises(TypeError, operator.lt)