From 5da8dc0cdcb684078bb842fdcbd351975a6b6ba2 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 21 Sep 2017 16:45:36 +0530 Subject: [PATCH] Allow running without py.test. --- tests/call_function_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/call_function_test.py b/tests/call_function_test.py index d18af3cb..f843f806 100644 --- a/tests/call_function_test.py +++ b/tests/call_function_test.py @@ -89,3 +89,7 @@ class CallFunctionTest(unittest.TestCase): assert context is not self.local assert context.context_id == self.local.context_id assert context.name == self.local.name + + +if __name__ = '__main__': + unittest.main()