Commit 9b167cc1 by Chris Jerdonek

README formatting.

parent b4881434
...@@ -145,7 +145,7 @@ Python 3 ...@@ -145,7 +145,7 @@ Python 3
-------- --------
For Python 3, we recommend installing and using Distribute_. For Python 3, we recommend installing and using Distribute_.
Then one can invoke `Distribute's test`_ command: Then one can invoke `Distribute's test`_ command: ::
python setup.py test python setup.py test
...@@ -153,26 +153,26 @@ Then one can invoke `Distribute's test`_ command: ...@@ -153,26 +153,26 @@ Then one can invoke `Distribute's test`_ command:
Python 2 Python 2
-------- --------
For Python 2, we recommend nose_ :: For Python 2, we recommend nose_: ::
pip install nose pip install nose
cd pystache cd pystache
nosetests nosetests
Depending on your Python version and nose installation, you may need Depending on your Python version and nose installation, you may need
to type, for example :: to type, for example-- ::
nosetests-2.4 nosetests-2.4
To run all available tests (including doctests):: To run all available tests (including doctests)-- ::
nosetests --with-doctest --doctest-extension=rst nosetests --with-doctest --doctest-extension=rst
or alternatively (using setup.cfg):: or alternatively (using setup.cfg)-- ::
python setup.py nosetests python setup.py nosetests
To run a subset of the tests, you can use this pattern, for example: :: To run a subset of the tests, you can use this pattern, for example-- ::
nosetests --tests tests/test_context.py:GetValueTests.test_dictionary__key_present nosetests --tests tests/test_context.py:GetValueTests.test_dictionary__key_present
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment