summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Harris <kengruven@gmail.com>2015-11-11 09:34:43 -0800
committerKen Harris <kengruven@gmail.com>2015-11-11 09:34:43 -0800
commit56d64c0bb8c171471607506c07c875763464e629 (patch)
tree9f4ccddf9d2f377806657698aabbfc6f2b9f8338
parent17ebf681d223ba234a5c78ae1e400c74b130d368 (diff)
downloadnose-56d64c0bb8c171471607506c07c875763464e629.tar.gz
Fix default testMatch in usage.txt
This fixes the top half of nosetests.1 and README.txt.
-rw-r--r--README.txt4
-rw-r--r--nose/usage.txt2
-rw-r--r--nosetests.14
3 files changed, 5 insertions, 5 deletions
diff --git a/README.txt b/README.txt
index a8cc961..c7d6624 100644
--- a/README.txt
+++ b/README.txt
@@ -51,8 +51,8 @@ nose collects tests automatically from python source files,
directories and packages found in its working directory (which
defaults to the current working directory). Any python source file,
directory or package that matches the testMatch regular expression (by
-default: *(?:^|[b_.-])[Tt]est)* will be collected as a test (or source
-for collection of tests). In addition, all other packages found in the
+default: *(?:\b|_)[Tt]est* will be collected as a test (or source for
+collection of tests). In addition, all other packages found in the
working directory will be examined for python source files or
directories that match testMatch. Package discovery descends all the
way down the tree, so package.tests and package.sub.tests and
diff --git a/nose/usage.txt b/nose/usage.txt
index bc96894..5e1d914 100644
--- a/nose/usage.txt
+++ b/nose/usage.txt
@@ -2,7 +2,7 @@ nose collects tests automatically from python source files,
directories and packages found in its working directory (which
defaults to the current working directory). Any python source file,
directory or package that matches the testMatch regular expression
-(by default: `(?:^|[\b_\.-])[Tt]est)` will be collected as a test (or
+(by default: `(?:\\b|_)[Tt]est` will be collected as a test (or
source for collection of tests). In addition, all other packages
found in the working directory will be examined for python source files
or directories that match testMatch. Package discovery descends all
diff --git a/nosetests.1 b/nosetests.1
index 5772845..f1a0c44 100644
--- a/nosetests.1
+++ b/nosetests.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "NOSETESTS" "1" "April 04, 2015" "1.3" "nose"
+.TH "NOSETESTS" "1" "November 11, 2015" "1.3" "nose"
.SH NAME
nosetests \- Nicer testing for Python
.
@@ -43,7 +43,7 @@ nose collects tests automatically from python source files,
directories and packages found in its working directory (which
defaults to the current working directory). Any python source file,
directory or package that matches the testMatch regular expression
-(by default: \fI(?:^|[b_.\-])[Tt]est)\fP will be collected as a test (or
+(by default: \fI(?:\eb|_)[Tt]est\fP will be collected as a test (or
source for collection of tests). In addition, all other packages
found in the working directory will be examined for python source files
or directories that match testMatch. Package discovery descends all