@@ -932,7 +932,7 @@ def test_self_isinstance(self, foo):
932
932
assert isinstance(self, TestClass)
933
933
"""
934
934
testdir .makepyfile (test_file )
935
- rr = testdir .run (sys . executable , "-m" , "pytest" , "-v" , * cmd_opts )
935
+ rr = testdir .run (* cmd_opts )
936
936
assert_outcomes (rr , {"passed" : 1 })
937
937
938
938
@@ -954,7 +954,7 @@ def test_self_isinstance(self, foo):
954
954
assert foo == 37
955
955
"""
956
956
testdir .makepyfile (test_file )
957
- rr = testdir .run (sys . executable , "-m" , "pytest" , "-v" , * cmd_opts )
957
+ rr = testdir .run (* cmd_opts , timeout = timeout )
958
958
assert_outcomes (rr , {"passed" : 1 })
959
959
960
960
@@ -974,7 +974,7 @@ async def test_self_isinstance(self, foo):
974
974
assert isinstance(self, TestClass)
975
975
"""
976
976
testdir .makepyfile (test_file )
977
- rr = testdir .run (sys . executable , "-m" , "pytest" , "-v" , * cmd_opts )
977
+ rr = testdir .run (* cmd_opts , timeout = timeout )
978
978
assert_outcomes (rr , {"passed" : 1 })
979
979
980
980
@@ -994,5 +994,5 @@ async def test_self_isinstance(self, foo):
994
994
assert foo == 37
995
995
"""
996
996
testdir .makepyfile (test_file )
997
- rr = testdir .run (sys . executable , "-m" , "pytest" , "-v" , * cmd_opts )
997
+ rr = testdir .run (* cmd_opts , timeout = timeout )
998
998
assert_outcomes (rr , {"passed" : 1 })
0 commit comments