From 7723fffcdfc2095f5e9ba4e32d141dd436422ecf Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 10 Dec 2019 15:32:34 -0600 Subject: [PATCH] Correction to generated test input filename. --- tests/testing_harness.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testing_harness.py b/tests/testing_harness.py index 2266189c0..a44b0683a 100644 --- a/tests/testing_harness.py +++ b/tests/testing_harness.py @@ -348,9 +348,9 @@ class PyAPITestHarness(TestHarness): compare = filecmp.cmp('inputs_test.dat', 'inputs_true.dat') if not compare: expected = open('inputs_true.dat', 'r').readlines() - actual = open('inputs_error.dat', 'r').readlines() + actual = open('inputs_test.dat', 'r').readlines() diff = unified_diff(expected, actual, 'inputs_true.dat', - 'inputs_error.dat') + 'inputs_test.dat') print('Input differences:') print(''.join(colorize(diff))) os.rename('inputs_test.dat', 'inputs_error.dat')