[Python-checkins] python/dist/src/Lib/test test_select.py,1.13,1.14
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Thu, 13 Jun 2002 15:23:49 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv27706/Lib/test
Modified Files:
test_select.py
Log Message:
Test exceptional condition in select()
Index: test_select.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_select.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** test_select.py 17 Jan 2001 21:51:36 -0000 1.13
--- test_select.py 13 Jun 2002 22:23:47 -0000 1.14
***************
*** 33,36 ****
--- 33,43 ----
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():