Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pystache_custom
Commits
9b167cc1
Commit
9b167cc1
authored
Apr 08, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README formatting.
parent
b4881434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
README.rst
+6
-6
No files found.
README.rst
View file @
9b167cc1
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment