8000 -p should trigger parse errors · awesome-python/html5lib-python@3faf8f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3faf8f5

Browse files
committed
-p should trigger parse errors
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40850
1 parent 9b9abb1 commit 3faf8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/runtests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ def buildTestSuite():
1313
def main():
1414
# the following is temporary while the unit tests for parse errors are
1515
# still in flux
16-
if '-p' in sys.argv: # suppress check for parse errors
16+
if '-p' in sys.argv: # enable check for parse errors
1717
import test_parser
18-
test_parser.checkParseErrors = False
18+
test_parser.checkParseErrors = True
1919

2020
results = unittest.TextTestRunner().run(buildTestSuite())
2121
if not results.wasSuccessful(): sys.exit(1)

0 commit comments

Comments
 (0)
0