Kaydet (Commit) 1b738e91 authored tarafından Neal Norwitz's avatar Neal Norwitz

Test exceptional condition in select()

üst 6fc36c54
......@@ -32,6 +32,13 @@ except TypeError:
else:
print 'expected TypeError exception not raised'
try:
rfd, wfd, xfd = select.select([], [], [], 'not a number')
except TypeError:
pass
else:
print 'expected TypeError exception not raised'
def test():
import sys
......
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