diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-04-22 22:37:28 -0700 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-04-22 22:37:28 -0700 |
commit | ea5c65579a39d048eb8a2bbede353706bec726f0 (patch) | |
tree | ee2b32361cc4c1b2e714371fdcba717f520bb1c5 /README.rst | |
parent | 4c9d50db3dc56bfe1875de35aecd65280eccec18 (diff) | |
download | pystache-ea5c65579a39d048eb8a2bbede353706bec726f0.tar.gz |
Another REAMDE update re: testing under Python 3.x.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 25 |
1 files changed, 5 insertions, 20 deletions
@@ -146,8 +146,8 @@ From a source distribution-- :: python test_pystache.py -You can also use tox_ to test Pystache under multiple versions of Python -using a single command! :: +From source you can even test Pystache under several versions of Python +with a single command (using tox_)! :: pip install tox tox @@ -162,24 +162,9 @@ Mustache spec. To include tests from the Mustache spec in your test runs: :: git submodule init git submodule update - -Python 2.7 and Later --------------------- - -Then run Distribute's test_: :: - - python setup.py test - -This runs 2to3_ when using Python 3. - - -Python 2.6 and Earlier ----------------------- - -For Python 2.6 and earlier, use nose_ instead of ``test``: :: - - pip install nose - python setup.py nosetests +To test Pystache under Python 3.x from a source distribution, you must +use tox. This is because the source is Python 2 and must be first be +converted with 2to3_. Mailing List |