We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Supporting newest version of python
Gunicorn currently doesn't run tests with python3.6.

Since 3.6 is release and some of us are preparing to use it in production it would be great if gunicorn had confirmed support.

Also `setup.py` classifiers doesn't include 3.5 or 3.6.

--- 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 # -*- coding: utf-8 -
2 #
3 # This file is part of gunicorn released under the MIT license.
4 # See the NOTICE for more information.
5 
6 import os
7 import sys
8 
9 from setuptools import setup, find_packages
10 from setuptools.command.test import test as TestCommand
11 
12 from gunicorn import __version__
13 
14 
15 CLASSIFIERS = [
16     'Development Status :: 4 - Beta',
17     'Environment :: Other Environment',
18     'Intended Audience :: Developers',
19     'License :: OSI Approved :: MIT License',
20     'Operating System :: MacOS :: MacOS X',
21     'Operating System :: POSIX',
22     'Programming Language :: Python',
23     'Programming Language :: Python :: 2',
24     'Programming Language :: Python :: 2.6',
25     'Programming Language :: Python :: 2.7',
26     'Programming Language :: Python :: 3',
27     'Programming Language :: Python :: 3.2',
28     'Programming Language :: Python :: 3.3',
29     'Programming Language :: Python :: 3.4',
30     'Topic :: Internet',
31     'Topic :: Utilities',
32     'Topic :: Software Development :: Libraries :: Python Modules',
33     'Topic :: Internet :: WWW/HTTP',
34     'Topic :: Internet :: WWW/HTTP :: WSGI',
35     'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
36     'Topic :: Internet :: WWW/HTTP :: Dynamic Content']
37 
38 # read long description
39 with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
40     long_description = f.read()
41 
42 # read dev requirements
43 fname = os.path.join(os.path.dirname(__file__), 'requirements_test.txt')
44 with open(fname) as f:
45     tests_require = [l.strip() for l in f.readlines()]
46 
47 if sys.version_info[:2] < (3, 3):
48     tests_require.append('mock')
49 if sys.version_info[:2] < (2, 7):
50     tests_require.append('unittest2')
51 
52 class PyTestCommand(TestCommand):
53     user_options = [
54         ("cov", None, "measure coverage")
55     ]
56 
57     def initialize_options(self):
58         TestCommand.initialize_options(self)
59         self.cov = None
60 
61     def finalize_options(self):
62         TestCommand.finalize_options(self)
63         self.test_args = ['tests']
64         if self.cov:
65             self.test_args += ['--cov', 'gunicorn']
66         self.test_suite = True
67 
68     def run_tests(self):
69         import pytest
70         errno = pytest.main(self.test_args)
71         sys.exit(errno)
72 
73 setup(
74     name='gunicorn',
75     version=__version__,
76 
77     description='WSGI HTTP Server for UNIX',
78     long_description=long_description,
79     author='Benoit Chesneau',
80     author_email='benoitc@e-engura.com',
81     license='MIT',
82     url='http://gunicorn.org',
83 
84     classifiers=CLASSIFIERS,
85     zip_safe=False,
86     packages=find_packages(exclude=['examples', 'tests']),
87     include_package_data=True,
88 
89     tests_require=tests_require,
90     cmdclass={'test': PyTestCommand},
91 
92     entry_points="""
93     [console_scripts]
94     gunicorn=gunicorn.app.wsgiapp:run
95     gunicorn_django=gunicorn.app.djangoapp:run
96     gunicorn_paster=gunicorn.app.pasterapp:run
97 
98     [paste.server_runner]
99     main=gunicorn.app.pasterapp:paste_server
100     """
101 )
102
```
--- 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
@@ -27,6 +27,8 @@
     'Programming Language :: Python :: 3.2',
     'Programming Language :: Python :: 3.3',
     'Programming Language :: Python :: 3.4',
+    'Programming Language :: Python :: 3.5',
+    'Programming Language :: Python :: 3.6',
     'Topic :: Internet',
     'Topic :: Utilities',
     'Topic :: Software Development :: Libraries :: Python Modules',

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -27,6 +27,8 @@\n     'Programming Language :: Python :: 3.2',\n     'Programming Language :: Python :: 3.3',\n     'Programming Language :: Python :: 3.4',\n+    'Programming Language :: Python :: 3.5',\n+    'Programming Language :: Python :: 3.6',\n     'Topic :: Internet',\n     'Topic :: Utilities',\n     'Topic :: Software Development :: Libraries :: Python Modules',\n", "issue": "Supporting newest version of python\nGunicorn currently doesn't run tests with python3.6.\r\n\r\nSince 3.6 is release and some of us are preparing to use it in production it would be great if gunicorn had confirmed support.\r\n\r\nAlso `setup.py` classifiers doesn't include 3.5 or 3.6.\n", "before_files": [{"content": "# -*- coding: utf-8 -\n#\n# This file is part of gunicorn released under the MIT license.\n# See the NOTICE for more information.\n\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\nfrom setuptools.command.test import test as TestCommand\n\nfrom gunicorn import __version__\n\n\nCLASSIFIERS = [\n    'Development Status :: 4 - Beta',\n    'Environment :: Other Environment',\n    'Intended Audience :: Developers',\n    'License :: OSI Approved :: MIT License',\n    'Operating System :: MacOS :: MacOS X',\n    'Operating System :: POSIX',\n    'Programming Language :: Python',\n    'Programming Language :: Python :: 2',\n    'Programming Language :: Python :: 2.6',\n    'Programming Language :: Python :: 2.7',\n    'Programming Language :: Python :: 3',\n    'Programming Language :: Python :: 3.2',\n    'Programming Language :: Python :: 3.3',\n    'Programming Language :: Python :: 3.4',\n    'Topic :: Internet',\n    'Topic :: Utilities',\n    'Topic :: Software Development :: Libraries :: Python Modules',\n    'Topic :: Internet :: WWW/HTTP',\n    'Topic :: Internet :: WWW/HTTP :: WSGI',\n    'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',\n    'Topic :: Internet :: WWW/HTTP :: Dynamic Content']\n\n# read long description\nwith open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:\n    long_description = f.read()\n\n# read dev requirements\nfname = os.path.join(os.path.dirname(__file__), 'requirements_test.txt')\nwith open(fname) as f:\n    tests_require = [l.strip() for l in f.readlines()]\n\nif sys.version_info[:2] < (3, 3):\n    tests_require.append('mock')\nif sys.version_info[:2] < (2, 7):\n    tests_require.append('unittest2')\n\nclass PyTestCommand(TestCommand):\n    user_options = [\n        (\"cov\", None, \"measure coverage\")\n    ]\n\n    def initialize_options(self):\n        TestCommand.initialize_options(self)\n        self.cov = None\n\n    def finalize_options(self):\n        TestCommand.finalize_options(self)\n        self.test_args = ['tests']\n        if self.cov:\n            self.test_args += ['--cov', 'gunicorn']\n        self.test_suite = True\n\n    def run_tests(self):\n        import pytest\n        errno = pytest.main(self.test_args)\n        sys.exit(errno)\n\nsetup(\n    name='gunicorn',\n    version=__version__,\n\n    description='WSGI HTTP Server for UNIX',\n    long_description=long_description,\n    author='Benoit Chesneau',\n    author_email='benoitc@e-engura.com',\n    license='MIT',\n    url='http://gunicorn.org',\n\n    classifiers=CLASSIFIERS,\n    zip_safe=False,\n    packages=find_packages(exclude=['examples', 'tests']),\n    include_package_data=True,\n\n    tests_require=tests_require,\n    cmdclass={'test': PyTestCommand},\n\n    entry_points=\"\"\"\n    [console_scripts]\n    gunicorn=gunicorn.app.wsgiapp:run\n    gunicorn_django=gunicorn.app.djangoapp:run\n    gunicorn_paster=gunicorn.app.pasterapp:run\n\n    [paste.server_runner]\n    main=gunicorn.app.pasterapp:paste_server\n    \"\"\"\n)\n", "path": "setup.py"}], "after_files": [{"content": "# -*- coding: utf-8 -\n#\n# This file is part of gunicorn released under the MIT license.\n# See the NOTICE for more information.\n\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\nfrom setuptools.command.test import test as TestCommand\n\nfrom gunicorn import __version__\n\n\nCLASSIFIERS = [\n    'Development Status :: 4 - Beta',\n    'Environment :: Other Environment',\n    'Intended Audience :: Developers',\n    'License :: OSI Approved :: MIT License',\n    'Operating System :: MacOS :: MacOS X',\n    'Operating System :: POSIX',\n    'Programming Language :: Python',\n    'Programming Language :: Python :: 2',\n    'Programming Language :: Python :: 2.6',\n    'Programming Language :: Python :: 2.7',\n    'Programming Language :: Python :: 3',\n    'Programming Language :: Python :: 3.2',\n    'Programming Language :: Python :: 3.3',\n    'Programming Language :: Python :: 3.4',\n    'Programming Language :: Python :: 3.5',\n    'Programming Language :: Python :: 3.6',\n    'Topic :: Internet',\n    'Topic :: Utilities',\n    'Topic :: Software Development :: Libraries :: Python Modules',\n    'Topic :: Internet :: WWW/HTTP',\n    'Topic :: Internet :: WWW/HTTP :: WSGI',\n    'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',\n    'Topic :: Internet :: WWW/HTTP :: Dynamic Content']\n\n# read long description\nwith open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:\n    long_description = f.read()\n\n# read dev requirements\nfname = os.path.join(os.path.dirname(__file__), 'requirements_test.txt')\nwith open(fname) as f:\n    tests_require = [l.strip() for l in f.readlines()]\n\nif sys.version_info[:2] < (3, 3):\n    tests_require.append('mock')\nif sys.version_info[:2] < (2, 7):\n    tests_require.append('unittest2')\n\nclass PyTestCommand(TestCommand):\n    user_options = [\n        (\"cov\", None, \"measure coverage\")\n    ]\n\n    def initialize_options(self):\n        TestCommand.initialize_options(self)\n        self.cov = None\n\n    def finalize_options(self):\n        TestCommand.finalize_options(self)\n        self.test_args = ['tests']\n        if self.cov:\n            self.test_args += ['--cov', 'gunicorn']\n        self.test_suite = True\n\n    def run_tests(self):\n        import pytest\n        errno = pytest.main(self.test_args)\n        sys.exit(errno)\n\nsetup(\n    name='gunicorn',\n    version=__version__,\n\n    description='WSGI HTTP Server for UNIX',\n    long_description=long_description,\n    author='Benoit Chesneau',\n    author_email='benoitc@e-engura.com',\n    license='MIT',\n    url='http://gunicorn.org',\n\n    classifiers=CLASSIFIERS,\n    zip_safe=False,\n    packages=find_packages(exclude=['examples', 'tests']),\n    include_package_data=True,\n\n    tests_require=tests_require,\n    cmdclass={'test': PyTestCommand},\n\n    entry_points=\"\"\"\n    [console_scripts]\n    gunicorn=gunicorn.app.wsgiapp:run\n    gunicorn_django=gunicorn.app.djangoapp:run\n    gunicorn_paster=gunicorn.app.pasterapp:run\n\n    [paste.server_runner]\n    main=gunicorn.app.pasterapp:paste_server\n    \"\"\"\n)\n", "path": "setup.py"}]}