diff options
| author | Sergey Shepelev <temotor@gmail.com> | 2013-10-07 16:48:34 +0400 |
|---|---|---|
| committer | Sergey Shepelev <temotor@gmail.com> | 2013-12-03 22:36:29 +0400 |
| commit | d2bbbd79d3f903fbff59f09467af681d5b9282cf (patch) | |
| tree | 6a6da9b62894d62fdaa1050acbd39c46e710b9e8 /tests/stdlib/test_select.py | |
| parent | 35f600600c59c295fab0131c7bc0032e28b70045 (diff) | |
| download | eventlet-d2bbbd79d3f903fbff59f09467af681d5b9282cf.tar.gz | |
python3 compat: remove lots of Python 2.5 and earlier dependent code; use print() function syntax
Diffstat (limited to 'tests/stdlib/test_select.py')
| -rw-r--r-- | tests/stdlib/test_select.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/stdlib/test_select.py b/tests/stdlib/test_select.py index 1ec90ca..cb3ba07 100644 --- a/tests/stdlib/test_select.py +++ b/tests/stdlib/test_select.py @@ -1,12 +1,10 @@ from eventlet import patcher from eventlet.green import select + patcher.inject('test.test_select', globals(), ('select', select)) - + if __name__ == "__main__": - try: - test_main() - except NameError: - pass # 2.5
\ No newline at end of file + test_main() |
