Commit 586d6772 authored by Alexander Belopolsky's avatar Alexander Belopolsky

Merged revisions 83140-83141 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines

  Issue #9315: Renamed test_trace to test_sys_settrace and
  test_profilehooks to test_sys_setprofile so that test_trace can be
  used for testing the trace module and for naming consistency.
........
  r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line

  Corrected comments on where settrace and setprofile are tested.
........
parent afed6e5a
This diff is collapsed.
...@@ -164,8 +164,8 @@ class SysModuleTest(unittest.TestCase): ...@@ -164,8 +164,8 @@ class SysModuleTest(unittest.TestCase):
# can't check more than the type, as the user might have changed it # can't check more than the type, as the user might have changed it
self.assertTrue(isinstance(sys.getdefaultencoding(), str)) self.assertTrue(isinstance(sys.getdefaultencoding(), str))
# testing sys.settrace() is done in test_trace.py # testing sys.settrace() is done in test_sys_settrace.py
# testing sys.setprofile() is done in test_profile.py # testing sys.setprofile() is done in test_sys_setprofile.py
def test_setcheckinterval(self): def test_setcheckinterval(self):
self.assertRaises(TypeError, sys.setcheckinterval) self.assertRaises(TypeError, sys.setcheckinterval)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment