summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-02-03 06:20:05 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-02-03 06:20:05 -0500
commitb2d8ebb093028458ff9728b290fd61809f1657a9 (patch)
treebf9c78d59bbd07217463ab693a9674b86f00327b
parent4b57ca578c745e5b4bcdfbb934c57305e6f9d573 (diff)
parent0760eea3b6ec6350b62eab813690faa92a7f880a (diff)
downloadnose-b2d8ebb093028458ff9728b290fd61809f1657a9.tar.gz
Merge pull request #744.
Fix #743: fix an incorrect regex in writing_tests.rst.
-rw-r--r--doc/writing_tests.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/writing_tests.rst b/doc/writing_tests.rst
index d2418bd..4ccb9f4 100644
--- a/doc/writing_tests.rst
+++ b/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. \ No newline at end of file
+subclasses.