Skip to content

Commit 6e72133

Browse files
committed
enum
1 parent 682eef3 commit 6e72133

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

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
@@ -4794,6 +4794,8 @@ class Color(Enum):
47944794
MAGENTA = 2
47954795
YELLOW = 3
47964796

4797+
# TODO: RUSTPYTHON
4798+
@unittest.expectedFailure
47974799
def test_pydoc(self):
47984800
# indirectly test __objclass__
47994801
if StrEnum.__doc__ is None:

0 commit comments

Comments
 (0)