diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-17 01:25:19 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-17 01:25:19 (GMT) |
commit | fc49f2a973ffbd7d679cf82ca28637a96354cbdb (patch) | |
tree | b19488573809f929782ae89402c339ec76bd55f9 /Lib/test | |
parent | 49d3f2514b4edcabae3b08286016c98b584bb3a2 (diff) | |
download | cpython-fc49f2a973ffbd7d679cf82ca28637a96354cbdb.zip cpython-fc49f2a973ffbd7d679cf82ca28637a96354cbdb.tar.gz cpython-fc49f2a973ffbd7d679cf82ca28637a96354cbdb.tar.bz2 |
remove rather pointless test
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) |