berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
810 stars 102 forks source link

Refactor tests #74

Closed pmaupin closed 7 years ago

pmaupin commented 7 years ago

These change allows to_source to be replaced and tests to be run, and conversely allow ease of running our tests against other packages. This was tested with the astunparse package.

I need to do PEP8 cosmetic changes before we merge.

pmaupin commented 7 years ago

I think this covers your concerns on the testing, @berkerpeksag

pmaupin commented 7 years ago

Actually, it wasn't my goal to do an automated test of astunparse. I just wanted to be able to manually run our tests against that package to track how we're doing. (There are a few of our tests that astunparse fails ATM.)