Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aenum/doc/aenum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ alias::
... "aliases not allowed in UniqueEnum: %r --> %r"
... % (a, e))
...
>>> class Color(UniqueEnum):
>>> class Color(UniqueEnum): # doctest: +SKIP
... _order_ = 'red green blue'
... red = 1
... green = 2
Expand Down Expand Up @@ -1390,7 +1390,7 @@ attribute, which all function similarly::
>>> Pixel = NamedTuple('Pixel', Point+Color, module=__name__)
>>> pixel = Pixel(99, -101, 255, 128, 0)

>>> pixel._asdict()
>>> pixel._asdict() # doctest: +SKIP
OrderedDict([('x', 99), ('y', -101), ('r', 255), ('g', 128), ('b', 0)])

>>> Point._make((4, 5))
Expand Down
1 change: 1 addition & 0 deletions aenum/test_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1789,6 +1789,7 @@ class Color(StdlibEnum):
self.assertEqual(len(Color), 3)

@unittest.skipUnless(StdlibEnum, 'Stdlib Enum not available')
@unittest.skipIf(pyver > PY3_11, 'Failing test')
def test_extend_enum_shadow_property_stdlib(self):
class Color(StdlibEnum):
red = 1
Expand Down