summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2021-10-22 07:58:17 +0900
committerGitHub <noreply@github.com>2021-10-22 07:58:17 +0900
commit1dbe006c8e0db79b91b1215ba8aaf650bd37a726 (patch)
treed1df75e96bb817654f96f38a48b98117e2ab570f
parent37fad7d3b7154c44b9902a2ab0db8641f1a0284b (diff)
downloadcpython-git-revert-29124-bpo-44019.tar.gz
Revert "bpo-44019: Add test_all_exported_names for operator module (GH-29124)"revert-29124-bpo-44019
This reverts commit 37fad7d3b7154c44b9902a2ab0db8641f1a0284b.
-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)