From 546269792483e7a6f6e0213bd5ef3dbb29b7373b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 6 Apr 2017 23:01:26 -0300 Subject: [PATCH] Small formatting fixes to nose.rst --- doc/en/nose.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/en/nose.rst b/doc/en/nose.rst index dcceff9b6..5effd0d7b 100644 --- a/doc/en/nose.rst +++ b/doc/en/nose.rst @@ -47,16 +47,16 @@ Unsupported idioms / known issues ``tests.test_mod``) but different file system paths (e.g. ``tests/test_mode.py`` and ``other/tests/test_mode.py``) by extending sys.path/import semantics. pytest does not do that - but there is discussion in `issue268 `_ for adding some support. Note that + but there is discussion in `#268 `_ for adding some support. Note that `nose2 choose to avoid this sys.path/import hackery `_. If you place a conftest.py file in the root directory of your project (as determined by pytest) pytest will run tests "nose style" against - the code below that directory by adding it to your sys.path instead of + the code below that directory by adding it to your ``sys.path`` instead of running against your installed code. - You may find yourself wanting to do this if you ran `python setup.py install` - to set up your project, as opposed to `python setup.py develop` or any of + You may find yourself wanting to do this if you ran ``python setup.py install`` + to set up your project, as opposed to ``python setup.py develop`` or any of the package manager equivalents. Installing with develop in a virtual environment like Tox is recommended over this pattern.