From d9dbeb501ee774b9e75dd74a7cb409cd3656b4ba Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 13 Feb 2019 13:22:34 -0200 Subject: [PATCH] Use [tool:pytest] for section name in setup.cfg file Since pytest 4.0 the section name should be `[tool:pytest]` for `setup.cfg` files, while it is still `[pytest]` for `pytest.ini` and `tox.ini` files. Reference: https://docs.pytest.org/en/latest/deprecations.html#pytest-section-in-setup-cfg-files --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c8ae04..030ab9d 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ that any database changes made will be rolled back at the end of the test: ```ini # In setup.cfg -[pytest] +[tool:pytest] mocked-sessions=database.db.session mocked-engines=database.engine ```