[Pytest-commit] commit/pytest: hpk42: Merged in msabramo/pytest/norecursedirs_add_star_dot_egg (pull request #177)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jul 3 16:51:21 CEST 2014


1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/557ba6edb022/
Changeset:   557ba6edb022
User:        hpk42
Date:        2014-07-03 16:51:17
Summary:     Merged in msabramo/pytest/norecursedirs_add_star_dot_egg (pull request #177)

Add *.egg to default for norecursedirs
Affected #:  2 files

diff -r a62c6c8a3811f278c318acde89fde8fab59e6936 -r 557ba6edb022af119792fd57e9bdabe5617bc978 _pytest/main.py
--- a/_pytest/main.py
+++ b/_pytest/main.py
@@ -23,7 +23,7 @@
 
 def pytest_addoption(parser):
     parser.addini("norecursedirs", "directory patterns to avoid for recursion",
-        type="args", default=('.*', 'CVS', '_darcs', '{arch}'))
+        type="args", default=('.*', 'CVS', '_darcs', '{arch}', '*.egg'))
     #parser.addini("dirpatterns",
     #    "patterns specifying possible locations of test files",
     #    type="linelist", default=["**/test_*.txt",

diff -r a62c6c8a3811f278c318acde89fde8fab59e6936 -r 557ba6edb022af119792fd57e9bdabe5617bc978 doc/en/customize.txt
--- a/doc/en/customize.txt
+++ b/doc/en/customize.txt
@@ -97,9 +97,9 @@
         [seq]   matches any character in seq
         [!seq]  matches any char not in seq
 
-   Default patterns are ``'.*', 'CVS', '_darcs', '{arch}'``. Setting a ``norecursedirs``
-   replaces the default.  Here is an example of how to avoid
-   certain directories::
+   Default patterns are ``'.*', 'CVS', '_darcs', '{arch}', '*.egg'``.
+   Setting a ``norecursedirs`` replaces the default.  Here is an example of
+   how to avoid certain directories::
 
     # content of setup.cfg
     [pytest]

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list