Skip to content

Commit a365dc0

Browse files
authored
Merge pull request #128 from Gallaecio/pytest-filterwarnings
Filter out third-party warnings when running tests
2 parents f806df0 + 52f45ec commit a365dc0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pytest.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[pytest]
2+
filterwarnings =
3+
; https://github.com/RDFLib/pyrdfa3/issues/31
4+
ignore:the imp module is deprecated:DeprecationWarning
5+
ignore:the imp module is deprecated:PendingDeprecationWarning
6+
; https://github.com/html5lib/html5lib-python/issues/402
7+
; https://bugs.launchpad.net/beautifulsoup/+bug/1847592
8+
ignore:Using or importing the ABCs:DeprecationWarning

0 commit comments

Comments
 (0)