File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ __pycache__/
6
6
.tox
7
7
.coverage *
8
8
! .coveragerc
9
+ /.cache
9
10
10
11
# shared libs installed by 'setup.py test'
11
12
/Lib /* .so *
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ Run reference leak tests::
224
224
225
225
$ cd path/to/python-ldap
226
226
$ /tmp/refleak/bin/pip install --upgrade .
227
- $ /tmp/refleak/bin/pytest -v -R: Tests/t_*.py
227
+ $ /tmp/refleak/bin/pytest -v -R:
228
228
229
229
Run ``/tmp/refleak/bin/pip install --upgrade . `` every time a file outside
230
230
of ``Tests/ `` is modified.
Original file line number Diff line number Diff line change @@ -35,3 +35,11 @@ packager = python-ldap team
35
35
distribution_name = openSUSE 11.x
36
36
release = 1
37
37
doc_files = CHANGES README INSTALL TODO Demo/
38
+
39
+ # pytest, https://docs.pytest.org/en/latest/customize.html
40
+ [tool:pytest]
41
+ testpaths = Tests
42
+ python_files = t_*.py
43
+ filterwarnings =
44
+ error
45
+ ignore::ldap.LDAPBytesWarning
You can’t perform that action at this time.
0 commit comments