Test exceptional condition in select()

This commit is contained in:
Neal Norwitz 2002-06-13 22:23:47 +00:00
parent 6fc36c5491
commit 1b738e916f

View file

@ -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