From 678cadb6ba6a8fd02b27ea4274a7871d3ae37352 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Thu, 16 Jan 2020 15:44:45 +0100 Subject: [PATCH] dbg output --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 8eafbbe..0f158cb 100644 --- a/setup.py +++ b/setup.py @@ -24,11 +24,15 @@ class SimpleTestRunner(distutils.cmd.Command): @staticmethod def _run_tests_in_module(test): """Short test runner function - to work also if py.test is not installed.""" + print("at start") test = 'lbmpy_tests.' + test mod, function_name = test.rsplit('.', 1) if isinstance(mod, str): + print("before import ", mod) mod = import_module(mod) + print("after import ", mod) + print("before getattr") func = getattr(mod, function_name) print(" -> %s in %s" % (function_name, mod.__name__)) with redirect_stdout(io.StringIO()): -- GitLab