fix NameError exception in test_profile

This commit is contained in:
Giampaolo Rodola' 2013-02-12 15:23:21 +01:00
parent 0166a283f6
commit 58cf4539b2

View file

@ -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):