Skip to content

Commit

Permalink
Fix #743: fix incorrect regex in writing_tests.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCantique authored and jszakmeister committed Feb 3, 2014
1 parent 5d74d92 commit 0760eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/writing_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Writing tests

As with py.test_, nose tests need not be subclasses of
:class:`unittest.TestCase`. Any function or class that matches the configured
testMatch regular expression (``(?:^|[\\b_\\.-])[Tt]est)`` by default -- that
testMatch regular expression (``(?:^|[\\b_\\.-])[Tt]est`` by default -- that
is, has test or Test at a word boundary or following a - or _) and lives in a
module that also matches that expression will be run as a test. For the sake
of compatibility with legacy unittest test cases, nose will also load tests
Expand Down Expand Up @@ -169,4 +169,4 @@ methods *do not* run before the generator method itself, as this would cause
setUp to run twice before the first test without an intervening tearDown.

Please note that method generators *are not* supported in `unittest.TestCase`
subclasses.
subclasses.

0 comments on commit 0760eea

Please sign in to comment.