[pytest]
addopts=--doctest-modules --doctest-glob=pkg_resources/api_tests.txt -r sxX
norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern .*
flake8-ignore =
    setuptools/site-patch.py F821
    setuptools/py*compat.py F811
doctest_optionflags=ELLIPSIS ALLOW_UNICODE
filterwarnings =
	# https://github.com/pypa/setuptools/issues/1823
	ignore:bdist_wininst command is deprecated
	error

[pytest]
addopts=--doctest-modules --doctest-glob=pkg_resources/api_tests.txt -r sxX
norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern .*
flake8-ignore =
    setuptools/site-patch.py F821
    setuptools/py*compat.py F811
doctest_optionflags=ELLIPSIS ALLOW_UNICODE
filterwarnings =
	# Fail on warnings
	error
	# https://github.com/pypa/setuptools/issues/1823
	ignore:bdist_wininst command is deprecated

Move the error directive to the top, as it's more permanent.
Move the error directive to the top, as it's more permanent.
