Skip to content

Commit 1537a5c

Browse files
committed
Adding pytest configuration
1 parent db29c67 commit 1537a5c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pytest.ini

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[pytest]
2+
3+
# This Configuration file stores py.test configuration settings
4+
5+
# Ignore the following directories' tests.
6+
norecursedirs = .git env
7+
8+
# Output in color, run doctests
9+
addopts = --color=yes --doctest-glob=README.md --doctest-modules
10+
11+
testpaths = test
12+
# Run tests from files matching this glob
13+
python_files = test/test_*.py
14+
15+
# Run tests from python_files with names matching this filter expression
16+
python_functions = test*
17+
18+
;log_print = False
19+
;console_output_style = classic
20+
filterwarnings =
21+
ignore::DeprecationWarning

0 commit comments

Comments
 (0)