diff options
author | AnneTheAgile <cqcinfo@yahoo.com> | 2013-10-27 17:32:22 -0700 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-02-03 06:18:29 -0500 |
commit | 0760eea3b6ec6350b62eab813690faa92a7f880a (patch) | |
tree | 9758d651d14ad857834446ec27d7de921739d7c8 | |
parent | 5d74d920f520089bd70035c8bbe1a2d51beac72e (diff) | |
download | nose-0760eea3b6ec6350b62eab813690faa92a7f880a.tar.gz |
Fix #743: fix incorrect regex in writing_tests.rst
-rw-r--r-- | doc/writing_tests.rst | 4 |
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. |