diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-02-12 14:23:21 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-02-12 14:23:21 (GMT) |
commit | 58cf4539b2928516baab508595eecf99ad6d69f0 (patch) | |
tree | a3e7f43cdec6af42865063f9c229d7cd2c03aad8 /Lib/test/test_profile.py | |
parent | 0166a283f65b08ee2dddb1b075f86862b8c7e3e4 (diff) | |
download | cpython-58cf4539b2928516baab508595eecf99ad6d69f0.zip cpython-58cf4539b2928516baab508595eecf99ad6d69f0.tar.gz cpython-58cf4539b2928516baab508595eecf99ad6d69f0.tar.bz2 |
fix NameError exception in test_profile
Diffstat (limited to 'Lib/test/test_profile.py')
-rw-r--r-- | Lib/test/test_profile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_profile.py b/Lib/test/test_profile.py index 2f3d595..1fc3c42 100644 --- a/Lib/test/test_profile.py +++ b/Lib/test/test_profile.py @@ -82,8 +82,8 @@ class ProfileTest(unittest.TestCase): 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): |