diff options
Diffstat (limited to 'Lib/test/test_select.py')
-rw-r--r-- | Lib/test/test_select.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index d5bcfd5..e2c3cfe 100644 --- a/Lib/test/test_select.py +++ b/Lib/test/test_select.py @@ -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 |