aboutsummaryrefslogtreecommitdiffstats
path: root/run-tests.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-07-28 08:53:41 -0700
committerWaylan Limberg <waylan@gmail.com>2013-07-28 08:53:41 -0700
commitba3d5bd29263f10bdd36453e61d1654d30bdfe08 (patch)
tree6c49f7e9d28acdcea426901de587e5045210ec55 /run-tests.py
parenta37c60ac5185c8d5f46b2e5ab7214022e2d76e8c (diff)
parent471bba941994f1195a805229bb721d70b94b4cb8 (diff)
downloadmarkdown-ba3d5bd29263f10bdd36453e61d1654d30bdfe08.tar.gz
markdown-ba3d5bd29263f10bdd36453e61d1654d30bdfe08.tar.bz2
markdown-ba3d5bd29263f10bdd36453e61d1654d30bdfe08.zip
Merge pull request #233 from mitya57/run-test-fix
Fix NameError in run-tests.py
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 4f13eb5..1185e2d 100755
--- a/run-tests.py
+++ b/run-tests.py
@@ -10,7 +10,7 @@ if len(sys.argv) > 1 and sys.argv[1] == "update":
if ext == config.get(tests.get_section(os.path.basename(root), config), 'input_ext'):
tests.generate(root, config)
else:
- print(file, 'does not have a valid file extension. Check config.')
+ print(sys.argv[2], 'does not have a valid file extension. Check config.')
else:
tests.generate_all()
else: