diff options
| author | Ryan Williams <breath@alum.mit.edu> | 2010-07-25 20:58:32 -0700 |
|---|---|---|
| committer | Ryan Williams <breath@alum.mit.edu> | 2010-07-25 20:58:32 -0700 |
| commit | d058d706f53c71a1724ee198d6ae3a7729936f02 (patch) | |
| tree | ed04fd40366acb41d77ae9e4abbaa6f07301e295 /tests/stdlib/test_thread.py | |
| parent | af2317d66a1b94f7d5a6eee24404e5908a131c59 (diff) | |
| download | eventlet-d058d706f53c71a1724ee198d6ae3a7729936f02.tar.gz | |
Silencing a few 2.7 tests.
Diffstat (limited to 'tests/stdlib/test_thread.py')
| -rw-r--r-- | tests/stdlib/test_thread.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/stdlib/test_thread.py b/tests/stdlib/test_thread.py index 0c4f8f3..00b9279 100644 --- a/tests/stdlib/test_thread.py +++ b/tests/stdlib/test_thread.py @@ -6,13 +6,16 @@ from eventlet.green import time from eventlet import hubs hubs.get_hub() -patcher.inject('test.test_thread', - globals(), - ('time', time), - ('thread', thread)) +patcher.inject('test.test_thread', globals()) + +try: + # this is a new test in 2.7 that we don't support yet + TestForkInThread.test_forkinthread = lambda *a, **kw: None +except NameError: + pass if __name__ == "__main__": try: test_main() except NameError: - pass # 2.5
\ No newline at end of file + pass # 2.5 |
