summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2013-08-10 20:07:49 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2013-08-10 20:07:49 (GMT)
commit53f58dbd122676c1408b3c95c1630028cc1a0e05 (patch)
tree4150f5be05ad7ec16ade6fb36c80548089ebae24 /Lib/test
parenta4998a70416c27730e75c0a4225ee2c3552b1618 (diff)
downloadcpython-53f58dbd122676c1408b3c95c1630028cc1a0e05.zip
cpython-53f58dbd122676c1408b3c95c1630028cc1a0e05.tar.gz
cpython-53f58dbd122676c1408b3c95c1630028cc1a0e05.tar.bz2
Close #18693: __dir__ removed from Enum; help() now helpful.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_enum.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index b959e97..751fd56 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -78,21 +78,6 @@ class TestEnum(unittest.TestCase):
def test_intenum_value(self):
self.assertEqual(IntStooges.CURLY.value, 2)
- def test_dir_on_class(self):
- Season = self.Season
- self.assertEqual(
- set(dir(Season)),
- set(['__class__', '__doc__', '__members__',
- 'SPRING', 'SUMMER', 'AUTUMN', 'WINTER']),
- )
-
- def test_dir_on_item(self):
- Season = self.Season
- self.assertEqual(
- set(dir(Season.WINTER)),
- set(['__class__', '__doc__', 'name', 'value']),
- )
-
def test_enum(self):
Season = self.Season
lst = list(Season)