diff options
| author | Ryan Williams <rdw@lindenlab.com> | 2009-11-28 18:34:20 -0500 |
|---|---|---|
| committer | Ryan Williams <rdw@lindenlab.com> | 2009-11-28 18:34:20 -0500 |
| commit | b42db6044e18e789945ac4125a47eac8af95038e (patch) | |
| tree | 5c0ec0712fd47c30270cf3015668517cc8e96413 /tests/stdlib | |
| parent | eb359c7f850eeddd2552a75ac148fd78a0eddf02 (diff) | |
| download | eventlet-b42db6044e18e789945ac4125a47eac8af95038e.tar.gz | |
Removed cwd dependency in test_thread__boundedsem
Diffstat (limited to 'tests/stdlib')
| -rw-r--r-- | tests/stdlib/test_thread__boundedsem.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/stdlib/test_thread__boundedsem.py b/tests/stdlib/test_thread__boundedsem.py index 869d8fb..c1ca7c7 100644 --- a/tests/stdlib/test_thread__boundedsem.py +++ b/tests/stdlib/test_thread__boundedsem.py @@ -8,4 +8,5 @@ def allocate_lock(): thread.allocate_lock = allocate_lock thread.LockType = coros.BoundedSemaphore -execfile('stdlib/test_thread.py') +import os.path +execfile(os.path.join(os.path.dirname(__file__), 'test_thread.py')) |
