aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 003bc55..e89346e 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -94,7 +94,7 @@ def run_tests():
def check_file(fname):
if fname.endswith('parsetab.py'): # Autogenerated
return True
- linenum = 0
+ linenum = 1
for line in open(fname, 'rb').readlines():
if b'\t' in line:
print("File %s contains a literal tab on line %d. Only spaces are permitted." % (fname, linenum))