From 0dfa5ac826898c170315df7fe668f2ded752833d Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 30 Nov 2009 12:12:09 -0800 Subject: [PATCH] Reordered test_select so it runs on 2.5 --- tests/stdlib/all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/stdlib/all.py b/tests/stdlib/all.py index b1d7cfc..a6bf00d 100644 --- a/tests/stdlib/all.py +++ b/tests/stdlib/all.py @@ -30,9 +30,10 @@ try: s.close() have_network_access = True except socket.error, e: + print "Skipping network tests" have_network_access = False - +import_main(globals(), 'test_select') import_main(globals(), 'test_SimpleHTTPServer') import_main(globals(), 'test_asynchat') import_main(globals(), 'test_asyncore') @@ -40,7 +41,6 @@ import_main(globals(), 'test_ftplib') import_main(globals(), 'test_httplib') if have_network_access: import_main(globals(), 'test_httpservers') -import_main(globals(), 'test_select') if have_network_access: import_main(globals(), 'test_socket') import_main(globals(), 'test_socket_ssl')