Fix missing pytest 4.0 features
Not really sure how many versions of pytest we should support? But then again, we might as well for now...
This commit is contained in:
@@ -51,7 +51,7 @@ Repository = "https://github.com/carpedm20/fbchat/"
|
|||||||
|
|
||||||
[tool.flit.metadata.requires-extra]
|
[tool.flit.metadata.requires-extra]
|
||||||
test = [
|
test = [
|
||||||
"pytest~=4.0",
|
"pytest>=4.0,<6.0",
|
||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"sphinx~=2.0",
|
"sphinx~=2.0",
|
||||||
|
@@ -3,7 +3,7 @@ xfail_strict = true
|
|||||||
markers =
|
markers =
|
||||||
online: Online tests, aka. disabled tests...
|
online: Online tests, aka. disabled tests...
|
||||||
addopts =
|
addopts =
|
||||||
--strict-markers
|
--strict
|
||||||
-m "not online"
|
-m "not online"
|
||||||
testpaths = tests
|
testpaths = tests
|
||||||
filterwarnings = error
|
filterwarnings = error
|
||||||
|
Reference in New Issue
Block a user