File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1382,13 +1382,6 @@ def testfunc(n):
13821382 self .assertNotIn ("_CHECK_FUNCTION_EXACT_ARGS" , uops )
13831383
13841384 def test_method_guards_removed_or_reduced (self ):
1385- class TestObject :
1386- def test (self , * args , ** kwargs ):
1387- return args [0 ]
1388-
1389- test_object = TestObject ()
1390- test_bound_method = TestObject .test .__get__ (test_object )
1391-
13921385 def testfunc (n ):
13931386 result = 0
13941387 for i in range (n ):
@@ -2301,5 +2294,12 @@ def f(n):
23012294def global_identity (x ):
23022295 return x
23032296
2297+ class TestObject :
2298+ def test (self , * args , ** kwargs ):
2299+ return args [0 ]
2300+
2301+ test_object = TestObject ()
2302+ test_bound_method = TestObject .test .__get__ (test_object )
2303+
23042304if __name__ == "__main__" :
23052305 unittest .main ()
You can’t perform that action at this time.
0 commit comments