aboutsummaryrefslogtreecommitdiffstats
path: root/run-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.py')
-rwxr-xr-xrun-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.py b/run-tests.py
index 1185e2d..2727a20 100755
--- a/run-tests.py
+++ b/run-tests.py
@@ -7,7 +7,7 @@ if len(sys.argv) > 1 and sys.argv[1] == "update":
if len(sys.argv) > 2:
config = tests.get_config(os.path.dirname(sys.argv[2]))
root, ext = os.path.splitext(sys.argv[2])
- if ext == config.get(tests.get_section(os.path.basename(root), config), 'input_ext'):
+ if ext == config.get(config.get_section(os.path.basename(root)), 'input_ext'):
tests.generate(root, config)
else:
print(sys.argv[2], 'does not have a valid file extension. Check config.')