summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-17 01:25:19 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-10-17 01:25:19 (GMT)
commitfc49f2a973ffbd7d679cf82ca28637a96354cbdb (patch)
treeb19488573809f929782ae89402c339ec76bd55f9 /Lib/test
parent49d3f2514b4edcabae3b08286016c98b584bb3a2 (diff)
downloadcpython-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.py8
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)