summaryrefslogtreecommitdiff
path: root/tests/patcher_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patcher_test.py')
-rw-r--r--tests/patcher_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patcher_test.py b/tests/patcher_test.py
index f80b589..5c9076f 100644
--- a/tests/patcher_test.py
+++ b/tests/patcher_test.py
@@ -492,5 +492,10 @@ t2.join()
self.assertEqual(lines[1], "True", lines[1])
+def test_importlib_lock():
+ output = run_python('tests/patcher_test_importlib_lock.py')
+ assert output.rstrip() == b'ok'
+
+
if __name__ == '__main__':
main()