Commit fc49f2a9 authored by Benjamin Peterson's avatar Benjamin Peterson

remove rather pointless test

parent 49d3f251
......@@ -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)
......
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