commit | 1b738e916f649079cfd85b61ee84b4cbf7841063 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Thu Jun 13 22:23:47 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Thu Jun 13 22:23:47 2002 +0000 |
tree | 22c4b5fbf4bb46976f4fe4aeb8c5da6b4208f591 | |
parent | 6fc36c549183860ba4b1b83cd34a47a51881f8db [diff] |
Test exceptional condition in select()
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 @@ 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