diff options
| author | Ryan Williams <rdw@lindenlab.com> | 2010-01-23 19:44:04 -0500 |
|---|---|---|
| committer | Ryan Williams <rdw@lindenlab.com> | 2010-01-23 19:44:04 -0500 |
| commit | 3a1c7673fca0210710455c1a2292f916ce13f73e (patch) | |
| tree | 89a8ffd386107590e2c681c89a3204ffc7a85575 /tests/stdlib/test_queue.py | |
| parent | cbab8815300833f8eafd04d4f3730519d00b63be (diff) | |
| download | eventlet-3a1c7673fca0210710455c1a2292f916ce13f73e.tar.gz | |
Added eventlet.green.Queue, and refactored the queue module so that it's actually stdlib-compatible.
Diffstat (limited to 'tests/stdlib/test_queue.py')
| -rw-r--r-- | tests/stdlib/test_queue.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/stdlib/test_queue.py b/tests/stdlib/test_queue.py new file mode 100644 index 0000000..39cfc13 --- /dev/null +++ b/tests/stdlib/test_queue.py @@ -0,0 +1,13 @@ +from eventlet import patcher +from eventlet.green import Queue +from eventlet.green import threading +from eventlet.green import time + +patcher.inject('test.test_queue', + globals(), + ('Queue', Queue), + ('threading', threading), + ('time', time)) + +if __name__ == "__main__": + test_main() |
