Commit b2ce311f authored by eckhart's avatar eckhart

fixed script test/run.py

parent 36ac491f
......@@ -336,9 +336,9 @@ def mixin_comment(whitespace: str, comment: str) -> str:
class UnknownParserError(KeyError):
"""UnknownParserError is raised if a Grammer object is called with a
"""UnknownParserError is raised if a Grammar object is called with a
parser that does not exist or if in the course of parsing a parser
is reffered to that does not exist."""
is referred to that does not exist."""
class Grammar:
......
......@@ -119,7 +119,7 @@ class MockParser(ParserBase):
"""
MockParser objects can be used to reconstruct syntax trees from a
serialized form like S-expressions or XML. Mock objects can mimic
different parser types by assigning them a ptype on initialization.
different parser types by assigning them a `ptype` on initialization.
Mock objects should not be used for anything other than
syntax tree (re-)construction. In all other cases where a parser
......
......@@ -6,4 +6,4 @@ if __name__ == "__main__":
if os.getcwd().endswith('test'):
os.chdir('..')
print("Running nosetests:")
os.system("nosetests")
os.system("nosetests test")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment