Skip to content

Commit 902c089

Browse files
check _GUARD_NOS_TYPE_VERSION in test
1 parent 38f8396 commit 902c089

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5040,6 +5040,7 @@ def testfunc(n):
50405040
self.assertIsNotNone(ex)
50415041
uops = get_opnames(ex)
50425042
self.assertNotIn("_LOAD_SUPER_ATTR_METHOD", uops)
5043+
self.assertEqual(uops.count("_GUARD_NOS_TYPE_VERSION"), 2)
50435044

50445045
def global_identity(x):
50455046
return x

0 commit comments

Comments
 (0)