Skip to content

Commit e266710

Browse files
authored
Merge pull request #4126 from blueyed/testpaths
tox.ini: use testpaths, cleanup other pytest options
2 parents 933de16 + 307fa7a commit e266710

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ commands = python scripts/release.py {posargs}
201201

202202
[pytest]
203203
minversion = 2.0
204-
plugins = pytester
205-
addopts = -ra -p pytester --ignore=testing/cx_freeze
206-
rsyncdirs = tox.ini pytest.py _pytest testing
204+
addopts = -ra -p pytester
205+
rsyncdirs = tox.ini doc src testing
207206
python_files = test_*.py *_test.py testing/*/*.py
208207
python_classes = Test Acceptance
209208
python_functions = test
210-
norecursedirs = .tox ja .hg cx_freeze_source testing/example_scripts
209+
testpaths = doc,testing
210+
norecursedirs = testing/example_scripts
211211
xfail_strict=true
212212
filterwarnings =
213213
error

0 commit comments

Comments
 (0)