Skip to content

Commit 816fe26

Browse files
committed
gh-71339: Use new assertion methods in test_enum
1 parent a4fe025 commit 816fe26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3256,7 +3256,7 @@ class MyIntFlag(int, Flag):
32563256
ONE = 1
32573257
TWO = 2
32583258
FOUR = 4
3259-
self.assertIsInstance(MyIntFlag.ONE | MyIntFlag.TWO, MyIntFlag, MyIntFlag.ONE | MyIntFlag.TWO)
3259+
self.assertIsInstance(MyIntFlag.ONE | MyIntFlag.TWO, (MyIntFlag, MyIntFlag.ONE | MyIntFlag.TWO))
32603260
self.assertIsInstance(MyIntFlag.ONE | 2, MyIntFlag)
32613261

32623262
def test_int_flags_copy(self):

0 commit comments

Comments
 (0)