From f0f43af23ce65d1d80d504ca81615cb0b86b1637 Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Wed, 12 Aug 2020 22:49:26 +0100
Subject: [PATCH] cleaning up the api test script

---
 tests/python_API_test.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/python_API_test.py b/tests/python_API_test.py
index ed3afe416..982e6abbc 100755
--- a/tests/python_API_test.py
+++ b/tests/python_API_test.py
@@ -110,13 +110,14 @@ def test_run_system_with_custom_logging():
         max_evolution_time,
     )
 
+    output = binary_c_python_api.run_system(
+        argstring, custom_logging_func_memaddr=func_memaddr
+    )
+
     print("function: test_run_system_with_custom_logging")
     print("memory adress of custom logging functions:")
     print(textwrap.indent(str(func_memaddr), "\t"))
 
-    output = binary_c_python_api.run_system(
-        argstring, custom_logging_func_memaddr=func_memaddr
-    )
     print("binary_c output:")
     print(textwrap.indent(output, "\t"))
 
-- 
GitLab