Open kloczek opened 3 months ago
Just tested such migration + below patch
--- a/fissix/tests/support.py
+++ b/fissix/tests/support.py
@@ -14,7 +14,7 @@
test_dir = os.path.dirname(__file__)
proj_dir = os.path.normpath(os.path.join(test_dir, ".."))
-grammar_path = os.path.join(test_dir, "..", "Grammar.txt")
+grammar_path = os.path.join(test_dir, "..", "fissix", "Grammar.txt")
grammar = pgen2_driver.load_grammar(grammar_path)
grammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)
del grammar_no_print_statement.keywords["print"]
Applied before move content of fissix/tests to tests/.
Here is result
Please let me know if you want above changes as PR.
Looks like fissix/tests is packaged into .whl archive
Probably easiest way to fix that will be just move fissix/tests/* to tests/.