Skip to content

Commit 76a560d

Browse files
committed
Raise any warnings during pytest
1 parent 3a22789 commit 76a560d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ test =
4242

4343
[tool:pytest]
4444
testpaths = "tests"
45+
markers =
46+
image: run test during image comparison only mode.
47+
hash: run test during hash comparison only mode.
48+
filterwarnings =
49+
error
4550

4651
[flake8]
4752
max-line-length = 100

tox.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,3 @@ description = check code style, e.g. with flake8
5151
deps = pre-commit
5252
commands =
5353
pre-commit run --all-files
54-
55-
[pytest]
56-
markers =
57-
image: run test during image comparison only mode.
58-
hash: run test during hash comparison only mode.

0 commit comments

Comments
 (0)