mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
gh-102558: [Enum] better handling of non-Enum EnumType classes (GH-103060)
This commit is contained in:
parent
b838d80085
commit
f4ed2c6ae5
2 changed files with 5 additions and 8 deletions
|
@ -1386,7 +1386,6 @@ class TestSpecial(unittest.TestCase):
|
|||
class Huh(MyStr, MyInt, Enum):
|
||||
One = 1
|
||||
|
||||
|
||||
def test_pickle_enum(self):
|
||||
if isinstance(Stooges, Exception):
|
||||
raise Stooges
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue