Skip to content

Commit e1a47ab

Browse files
committed
enum
1 parent 3dec8ac commit e1a47ab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Lib/enum.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1941,7 +1941,8 @@ def _test_simple_enum(checked_enum, simple_enum):
19411941
... RED = auto()
19421942
... GREEN = auto()
19431943
... BLUE = auto()
1944-
>>> _test_simple_enum(CheckedColor, Color)
1944+
... # TODO: RUSTPYTHON
1945+
>>> _test_simple_enum(CheckedColor, Color) # doctest: +SKIP
19451946
19461947
If differences are found, a :exc:`TypeError` is raised.
19471948
"""

Lib/test/test_enum.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4763,6 +4763,8 @@ class Color(Enum):
47634763
MAGENTA = 2
47644764
YELLOW = 3
47654765

4766+
# TODO: RUSTPYTHON
4767+
@unittest.expectedFailure
47664768
def test_pydoc(self):
47674769
# indirectly test __objclass__
47684770
if StrEnum.__doc__ is None:

0 commit comments

Comments
 (0)