From 36e5ca4115e87a4d496ff441eb6d3906319e7338 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 26 Oct 2018 09:33:28 +0100 Subject: [PATCH] tests: import missing main_with_no_exec_guard.py. --- tests/data/main_with_no_exec_guard.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/data/main_with_no_exec_guard.py diff --git a/tests/data/main_with_no_exec_guard.py b/tests/data/main_with_no_exec_guard.py new file mode 100644 index 00000000..153e4743 --- /dev/null +++ b/tests/data/main_with_no_exec_guard.py @@ -0,0 +1,12 @@ + +import logging +import mitogen.master + +def foo(): + pass + +logging.basicConfig(level=logging.INFO) +router = mitogen.master.Router() + +l = router.local() +l.call(foo)