diff options
| author | Sergey Shepelev <temotor@gmail.com> | 2015-03-05 16:32:40 +0300 |
|---|---|---|
| committer | Sergey Shepelev <temotor@gmail.com> | 2015-03-05 16:32:40 +0300 |
| commit | 8ca2b0d5ff27bf963db78c01bab77e679baa0abc (patch) | |
| tree | 9ff77b27986f9ac31a07bef14caa44ed6b1804af /tests/isolated/patcher_monkey_patch_unknown_module.py | |
| parent | 84b535becafcdc932ab905061f5fa2fbea35dc74 (diff) | |
| download | eventlet-tm4.tar.gz | |
tests: move some into isolatedtm4
Diffstat (limited to 'tests/isolated/patcher_monkey_patch_unknown_module.py')
| -rw-r--r-- | tests/isolated/patcher_monkey_patch_unknown_module.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/isolated/patcher_monkey_patch_unknown_module.py b/tests/isolated/patcher_monkey_patch_unknown_module.py new file mode 100644 index 0000000..8b83200 --- /dev/null +++ b/tests/isolated/patcher_monkey_patch_unknown_module.py @@ -0,0 +1,14 @@ +from __future__ import print_function + +# no standard tests in this file, ignore +__test__ = False + +if __name__ == '__main__': + import eventlet + err = '' + try: + eventlet.monkey_patch(finagle=True) + except TypeError as e: + err = str(e) + assert 'finagle' in err, err + print('pass') |
