gh-102558: [Enum] better handling of non-Enum EnumType classes (GH-103060)

This commit is contained in:
Ethan Furman 2023-03-27 16:26:16 -07:00 committed by GitHub
parent b838d80085
commit f4ed2c6ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View file

@ -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