-
-
Notifications
You must be signed in to change notification settings - Fork 54
tests needed #2
Comments
I don't know if it helps, but since I'm developing an unparser for typed AST (called And also, In both above modules, the tests cover both parse-unparse, as well as comparison of AST dumps. In the former, I also do some comparison between typed and untyped trees, and check if round-trip result using built-in ast parser is the same as typed_ast for cases with no type comments. Let me know if anything of the above sounds helpful. What do you think should be the next concrete step towards testing typed_ast? |
I created some tests for ast3, in ast3/tests. These are far from comprehensive, though, and there are no tests for ast27. Someone could perhaps adapt the ast3 tests to ast27 and add them to ast27/tests. |
There are also some Python 2.7 tests (in the same file, |
Once this is fully integrated with mypy, we can run the mypy tests to check that things are being parsed correctly.
It may be also worth checking if CPython has tests for the AST module we can use.
The text was updated successfully, but these errors were encountered: