Skip to content
Browse files

Fix #743: fix incorrect regex in writing_tests.rst

  • Loading branch information...
1 parent 5d74d92 commit 0760eea3b6ec6350b62eab813690faa92a7f880a @TheCantique TheCantique committed with jszakmeister Oct 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/writing_tests.rst
4 doc/writing_tests.rst
@@ -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
@@ -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`

0 comments on commit 0760eea

Please sign in to comment.
Something went wrong with that request. Please try again.