From 1dbe006c8e0db79b91b1215ba8aaf650bd37a726 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Fri, 22 Oct 2021 07:58:17 +0900 Subject: Revert "bpo-44019: Add test_all_exported_names for operator module (GH-29124)" This reverts commit 37fad7d3b7154c44b9902a2ab0db8641f1a0284b. --- Lib/test/test_operator.py | 12 ------------ 1 file changed, 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) -- cgit v1.2.1