Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
13d9135f
Commit
13d9135f
authored
Nov 06, 2019
by
Julien Chaumond
Browse files
[tests] get rid of warning
cf.
https://docs.pytest.org/en/latest/example/simple.html
parent
f88c104d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
transformers/tests/conftest.py
transformers/tests/conftest.py
+4
-0
No files found.
transformers/tests/conftest.py
View file @
13d9135f
...
...
@@ -9,6 +9,10 @@ def pytest_addoption(parser):
)
def
pytest_configure
(
config
):
config
.
addinivalue_line
(
"markers"
,
"slow: mark test as slow to run"
)
def
pytest_collection_modifyitems
(
config
,
items
):
if
config
.
getoption
(
"--runslow"
):
# --runslow given in cli: do not skip slow tests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment