diff --git a/setup.cfg b/setup.cfg
index 6c20abb966dd98029c40dac0f33ffcc90a89b7b6..067c278a30fecfa5f91d5d995563b045048335d3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -54,7 +54,7 @@ packages =
 # py.test options when running `python setup.py test`
 #addopts = tests
 
-[pytest]
+[tool:pytest]
 # Options for py.test:
 # Specify command line options as you would do when invoking py.test directly.
 # e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml