diff options
| author | Ryan Williams <rdw@lindenlab.com> | 2010-02-16 20:47:20 -0800 |
|---|---|---|
| committer | Ryan Williams <rdw@lindenlab.com> | 2010-02-16 20:47:20 -0800 |
| commit | 60f14370d3a1ef9da528dd2dce6df63e3a206f49 (patch) | |
| tree | 0567481b386450bb5104eeb41dbe65cbbafe9513 /tests/stdlib | |
| parent | b95d2e3238fba05ac2e7291e26cd349d79dc7d23 (diff) | |
| download | eventlet-60f14370d3a1ef9da528dd2dce6df63e3a206f49.tar.gz | |
Version-specific test changes, plus name aliasing in db_pool.
Diffstat (limited to 'tests/stdlib')
| -rw-r--r-- | tests/stdlib/test_threading.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/stdlib/test_threading.py b/tests/stdlib/test_threading.py index 1b87e32..915d111 100644 --- a/tests/stdlib/test_threading.py +++ b/tests/stdlib/test_threading.py @@ -15,7 +15,10 @@ patcher.inject('test.test_threading', # "PyThreadState_SetAsyncExc() is a CPython-only gimmick, not (currently) # exposed at the Python level. This test relies on ctypes to get at it." # Therefore it's also disabled when testing eventlet, as it's not emulated. -ThreadTests.test_PyThreadState_SetAsyncExc = lambda s: None +try: + ThreadTests.test_PyThreadState_SetAsyncExc = lambda s: None +except (AttributeError, NameError): + pass if __name__ == "__main__": |
