Added Note on tox & .pyc files. Fixes #1957

This commit is contained in:
Carlton Gibson 2014-10-22 16:43:37 +02:00
parent 4ad4fca6ce
commit d6ccdfc53d
2 changed files with 18 additions and 0 deletions

View File

@ -71,6 +71,15 @@ You can also use the excellent [`tox`][tox] testing tool to run the tests agains
tox tox
---
**Note**: If you run `tox` followed by `./runtests.py` you _may_ encounter a "bad marshall data" error as `pytest` attempts to read `.pyc` files from an incompatible Python version. To clear the offending `.pyc` files run:
$ find . -name '*.pyc' -delete
---
## Pull requests ## Pull requests
It's a good idea to make pull requests early on. A pull request represents the start of a discussion, and doesn't necessarily need to be the final, finished submission. It's a good idea to make pull requests early on. A pull request represents the start of a discussion, and doesn't necessarily need to be the final, finished submission.

View File

@ -105,6 +105,15 @@ You can also use the excellent [tox][tox] testing tool to run the tests against
tox tox
---
**Note**: If you run `tox` followed by `./runtests.py` you _may_ encounter a "bad marshall data" error as `pytest` attempts to read `.pyc` files from an incompatible Python version. To clear the offending `.pyc` files run:
$ find . -name '*.pyc' -delete
---
## Pull requests ## Pull requests
It's a good idea to make pull requests early on. A pull request represents the start of a discussion, and doesn't necessarily need to be the final, finished submission. It's a good idea to make pull requests early on. A pull request represents the start of a discussion, and doesn't necessarily need to be the final, finished submission.