diff --git a/Lib/test/test_profile.py b/Lib/test/test_profile.py index 2f3d5959499..1fc3c426696 100644 --- a/Lib/test/test_profile.py +++ b/Lib/test/test_profile.py @@ -82,8 +82,8 @@ def test_calling_conventions(self): def test_run(self): with silent(): - self.profilermodule.run("testfunc()") - self.profilermodule.run("testfunc()", filename=TESTFN) + self.profilermodule.run("int('1')") + self.profilermodule.run("int('1')", filename=TESTFN) self.assertTrue(os.path.exists(TESTFN)) def test_runctx(self):