We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Pytest fails due to missing dependency
Reproduction:

Activate virtualenv and execute `pytest` 

Expected result:
Tests are run

Actual result:
```(env) :~/git/werkzeug[master ?]🙂 pytest
========================= test session starts ==========================
platform darwin -- Python 3.6.8, pytest-5.3.2, py-1.8.0, pluggy-0.13.0
rootdir: /Users/latham/git/werkzeug, inifile: setup.cfg, testpaths: tests
plugins: mock-1.11.2, cov-2.8.1
collected 563 items / 1 error / 562 selected                           

================================ ERRORS ================================
_________________ ERROR collecting tests/test_debug.py _________________
tests/test_debug.py:372: in <module>
    @pytest.mark.timeout(2)
../../Library/Python/3.6/lib/python/site-packages/_pytest/mark/structures.py:327: in __getattr__
    PytestUnknownMarkWarning,
E   pytest.PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!
=========================== 1 error in 1.60s ===========================```


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 import io
2 import re
3 
4 from setuptools import find_packages
5 from setuptools import setup
6 
7 with io.open("README.rst", "rt", encoding="utf8") as f:
8     readme = f.read()
9 
10 with io.open("src/werkzeug/__init__.py", "rt", encoding="utf8") as f:
11     version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1)
12 
13 setup(
14     name="Werkzeug",
15     version=version,
16     url="https://palletsprojects.com/p/werkzeug/",
17     project_urls={
18         "Documentation": "https://werkzeug.palletsprojects.com/",
19         "Code": "https://github.com/pallets/werkzeug",
20         "Issue tracker": "https://github.com/pallets/werkzeug/issues",
21     },
22     license="BSD-3-Clause",
23     author="Armin Ronacher",
24     author_email="armin.ronacher@active-4.com",
25     maintainer="Pallets",
26     maintainer_email="contact@palletsprojects.com",
27     description="The comprehensive WSGI web application library.",
28     long_description=readme,
29     classifiers=[
30         "Development Status :: 5 - Production/Stable",
31         "Environment :: Web Environment",
32         "Intended Audience :: Developers",
33         "License :: OSI Approved :: BSD License",
34         "Operating System :: OS Independent",
35         "Programming Language :: Python",
36         "Programming Language :: Python :: 2",
37         "Programming Language :: Python :: 2.7",
38         "Programming Language :: Python :: 3",
39         "Programming Language :: Python :: 3.5",
40         "Programming Language :: Python :: 3.6",
41         "Programming Language :: Python :: 3.7",
42         "Programming Language :: Python :: 3.8",
43         "Programming Language :: Python :: Implementation :: CPython",
44         "Programming Language :: Python :: Implementation :: PyPy",
45         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
46         "Topic :: Internet :: WWW/HTTP :: WSGI",
47         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
48         "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
49         "Topic :: Software Development :: Libraries :: Application Frameworks",
50         "Topic :: Software Development :: Libraries :: Python Modules",
51     ],
52     packages=find_packages("src"),
53     package_dir={"": "src"},
54     include_package_data=True,
55     python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
56     extras_require={
57         "watchdog": ["watchdog"],
58         "dev": [
59             "pytest",
60             "coverage",
61             "tox",
62             "sphinx",
63             "pallets-sphinx-themes",
64             "sphinx-issues",
65         ],
66     },
67 )
68
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -57,6 +57,7 @@
         "watchdog": ["watchdog"],
         "dev": [
             "pytest",
+            "pytest-timeout",
             "coverage",
             "tox",
             "sphinx",

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -57,6 +57,7 @@\n         \"watchdog\": [\"watchdog\"],\n         \"dev\": [\n             \"pytest\",\n+            \"pytest-timeout\",\n             \"coverage\",\n             \"tox\",\n             \"sphinx\",\n", "issue": "Pytest fails due to missing dependency\nReproduction:\r\n\r\nActivate virtualenv and execute `pytest` \r\n\r\nExpected result:\r\nTests are run\r\n\r\nActual result:\r\n```(env) :~/git/werkzeug[master ?]\ud83d\ude42 pytest\r\n========================= test session starts ==========================\r\nplatform darwin -- Python 3.6.8, pytest-5.3.2, py-1.8.0, pluggy-0.13.0\r\nrootdir: /Users/latham/git/werkzeug, inifile: setup.cfg, testpaths: tests\r\nplugins: mock-1.11.2, cov-2.8.1\r\ncollected 563 items / 1 error / 562 selected                           \r\n\r\n================================ ERRORS ================================\r\n_________________ ERROR collecting tests/test_debug.py _________________\r\ntests/test_debug.py:372: in <module>\r\n    @pytest.mark.timeout(2)\r\n../../Library/Python/3.6/lib/python/site-packages/_pytest/mark/structures.py:327: in __getattr__\r\n    PytestUnknownMarkWarning,\r\nE   pytest.PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html\r\n!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!\r\n=========================== 1 error in 1.60s ===========================```\r\n\n", "before_files": [{"content": "import io\nimport re\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\nwith io.open(\"README.rst\", \"rt\", encoding=\"utf8\") as f:\n    readme = f.read()\n\nwith io.open(\"src/werkzeug/__init__.py\", \"rt\", encoding=\"utf8\") as f:\n    version = re.search(r'__version__ = \"(.*?)\"', f.read(), re.M).group(1)\n\nsetup(\n    name=\"Werkzeug\",\n    version=version,\n    url=\"https://palletsprojects.com/p/werkzeug/\",\n    project_urls={\n        \"Documentation\": \"https://werkzeug.palletsprojects.com/\",\n        \"Code\": \"https://github.com/pallets/werkzeug\",\n        \"Issue tracker\": \"https://github.com/pallets/werkzeug/issues\",\n    },\n    license=\"BSD-3-Clause\",\n    author=\"Armin Ronacher\",\n    author_email=\"armin.ronacher@active-4.com\",\n    maintainer=\"Pallets\",\n    maintainer_email=\"contact@palletsprojects.com\",\n    description=\"The comprehensive WSGI web application library.\",\n    long_description=readme,\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Environment :: Web Environment\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: BSD License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: Implementation :: CPython\",\n        \"Programming Language :: Python :: Implementation :: PyPy\",\n        \"Topic :: Internet :: WWW/HTTP :: Dynamic Content\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI :: Application\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware\",\n        \"Topic :: Software Development :: Libraries :: Application Frameworks\",\n        \"Topic :: Software Development :: Libraries :: Python Modules\",\n    ],\n    packages=find_packages(\"src\"),\n    package_dir={\"\": \"src\"},\n    include_package_data=True,\n    python_requires=\">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*\",\n    extras_require={\n        \"watchdog\": [\"watchdog\"],\n        \"dev\": [\n            \"pytest\",\n            \"coverage\",\n            \"tox\",\n            \"sphinx\",\n            \"pallets-sphinx-themes\",\n            \"sphinx-issues\",\n        ],\n    },\n)\n", "path": "setup.py"}], "after_files": [{"content": "import io\nimport re\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\nwith io.open(\"README.rst\", \"rt\", encoding=\"utf8\") as f:\n    readme = f.read()\n\nwith io.open(\"src/werkzeug/__init__.py\", \"rt\", encoding=\"utf8\") as f:\n    version = re.search(r'__version__ = \"(.*?)\"', f.read(), re.M).group(1)\n\nsetup(\n    name=\"Werkzeug\",\n    version=version,\n    url=\"https://palletsprojects.com/p/werkzeug/\",\n    project_urls={\n        \"Documentation\": \"https://werkzeug.palletsprojects.com/\",\n        \"Code\": \"https://github.com/pallets/werkzeug\",\n        \"Issue tracker\": \"https://github.com/pallets/werkzeug/issues\",\n    },\n    license=\"BSD-3-Clause\",\n    author=\"Armin Ronacher\",\n    author_email=\"armin.ronacher@active-4.com\",\n    maintainer=\"Pallets\",\n    maintainer_email=\"contact@palletsprojects.com\",\n    description=\"The comprehensive WSGI web application library.\",\n    long_description=readme,\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Environment :: Web Environment\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: BSD License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: Implementation :: CPython\",\n        \"Programming Language :: Python :: Implementation :: PyPy\",\n        \"Topic :: Internet :: WWW/HTTP :: Dynamic Content\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI :: Application\",\n        \"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware\",\n        \"Topic :: Software Development :: Libraries :: Application Frameworks\",\n        \"Topic :: Software Development :: Libraries :: Python Modules\",\n    ],\n    packages=find_packages(\"src\"),\n    package_dir={\"\": \"src\"},\n    include_package_data=True,\n    python_requires=\">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*\",\n    extras_require={\n        \"watchdog\": [\"watchdog\"],\n        \"dev\": [\n            \"pytest\",\n            \"pytest-timeout\",\n            \"coverage\",\n            \"tox\",\n            \"sphinx\",\n            \"pallets-sphinx-themes\",\n            \"sphinx-issues\",\n        ],\n    },\n)\n", "path": "setup.py"}]}