diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_sys_setprofile.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_sys_setprofile.py b/Lib/test/test_sys_setprofile.py index 54267a0..f9bf9ab 100644 --- a/Lib/test/test_sys_setprofile.py +++ b/Lib/test/test_sys_setprofile.py @@ -352,14 +352,6 @@ protect_ident = ident(protect) def capture_events(callable, p=None): - try: - sys.setprofile() - except TypeError: - pass - else: - raise support.TestFailed( - 'sys.setprofile() did not raise TypeError') - if p is None: p = HookWatcher() sys.setprofile(p.callback) |