Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix #743: fix incorrect regex in writing_tests.rst

  • Loading branch information...
commit 0760eea3b6ec6350b62eab813690faa92a7f880a 1 parent 5d74d92
@TheCantique TheCantique authored jszakmeister committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/writing_tests.rst
View
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`
-subclasses.
+subclasses.
Please sign in to comment.
Something went wrong with that request. Please try again.