From 1b738e916f649079cfd85b61ee84b4cbf7841063 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 13 Jun 2002 22:23:47 +0000 Subject: Test exceptional condition in select() --- Lib/test/test_select.py | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v0.12