We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fe025 commit 816fe26Copy full SHA for 816fe26
Lib/test/test_enum.py
@@ -3256,7 +3256,7 @@ class MyIntFlag(int, Flag):
3256
ONE = 1
3257
TWO = 2
3258
FOUR = 4
3259
- self.assertIsInstance(MyIntFlag.ONE | MyIntFlag.TWO, MyIntFlag, MyIntFlag.ONE | MyIntFlag.TWO)
+ self.assertIsInstance(MyIntFlag.ONE | MyIntFlag.TWO, (MyIntFlag, MyIntFlag.ONE | MyIntFlag.TWO))
3260
self.assertIsInstance(MyIntFlag.ONE | 2, MyIntFlag)
3261
3262
def test_int_flags_copy(self):
0 commit comments