From e8894b0aa6b48bf0d32d201e87fe05f9ada583a3 Mon Sep 17 00:00:00 2001 From: ptmcg Date: Tue, 7 Mar 2023 15:26:49 -0600 Subject: Fix testing typo --- tests/test_diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_diagram.py b/tests/test_diagram.py index 6b70c16..1b15579 100644 --- a/tests/test_diagram.py +++ b/tests/test_diagram.py @@ -78,7 +78,7 @@ class TestRailroadDiagrams(unittest.TestCase): railroad = to_railroad(expr, show_results_names=show_results_names) temp.write(railroad_to_html(railroad)) - if self.railroad_debug() or True: + if running_in_debug(): print(f"{label}: {temp.name}") return railroad -- cgit v1.2.1