From bdd7f69a66d2829f6cb96ff40dceecbc56c716fe Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 10 Sep 2019 21:22:28 +0200 Subject: [PATCH] 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... --- pyproject.toml | 2 +- pytest.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0641406..ad626b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ Repository = "https://github.com/carpedm20/fbchat/" [tool.flit.metadata.requires-extra] test = [ - "pytest~=4.0", + "pytest>=4.0,<6.0", ] docs = [ "sphinx~=2.0", diff --git a/pytest.ini b/pytest.ini index 41b9983..1fc717d 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,7 +3,7 @@ xfail_strict = true markers = online: Online tests, aka. disabled tests... addopts = - --strict-markers + --strict -m "not online" testpaths = tests filterwarnings = error