#1894 test_params.test_syntax() will fail on Python > 3.9

Open Christian Clauss cclauss
Coverage Reach
test/test_conn.py test/test_core.py test/test_request_obj.py test/test_session.py test/helper.py test/test_objectmapping.py test/test_static.py test/test_tools.py test/test_states.py test/test_caching.py test/test_dynamicobjectmapping.py test/benchmark.py test/test_http.py test/test_encoding.py test/test_bus.py test/test_config.py test/test_logging.py test/logtest.py test/test_iterator.py test/test_misc_tools.py test/test_tutorials.py test/test_xmlrpc.py test/test_wsgiapps.py test/test_proxy.py test/test_json.py test/test_auth_basic.py test/test_auth_digest.py test/test_virtualhost.py test/test_etags.py test/test_wsgi_ns.py test/test_config_server.py test/modpy.py test/modwsgi.py test/modfastcgi.py test/test_wsgi_unix_socket.py test/test_routes.py test/modfcgid.py test/_test_states_demo.py test/test_refleaks.py test/test_params.py test/sessiondemo.py test/test_mime.py test/test_sessionauthenticate.py test/_test_decorators.py test/test_wsgi_vhost.py test/test_native.py test/test_httputil.py test/__init__.py test/checkerdemo.py test/test_plugins.py test/webtest.py lib/sessions.py lib/cptools.py lib/encoding.py lib/cpstats.py lib/caching.py lib/httputil.py lib/reprconf.py lib/static.py lib/auth_digest.py lib/covercp.py lib/gctools.py lib/profiler.py lib/__init__.py lib/auth_basic.py lib/jsontools.py lib/xmlrpcutil.py lib/locking.py process/plugins.py process/wspbus.py process/servers.py process/win32.py process/__init__.py _cpreqbody.py _cprequest.py _cpdispatch.py _cpwsgi.py _cptools.py _cperror.py tutorial/tut10_http_errors.py tutorial/tut09_files.py tutorial/tut04_complex_site.py tutorial/tut05_derived_objects.py tutorial/tut06_default_method.py tutorial/tut08_generators_and_yield.py tutorial/tut03_get_and_post.py tutorial/tut02_expose_methods.py tutorial/tut07_sessions.py tutorial/tut01_helloworld.py tutorial/__init__.py _cpchecker.py _cplogging.py _cpmodpy.py _helper.py _cptree.py _cpserver.py _cpnative_server.py _cpconfig.py daemon.py _cpwsgi_server.py scaffold/__init__.py _cpcompat.py _json.py __main__.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -43,8 +43,8 @@
Loading
43 43
        self.assertStatus(500)
44 44
45 45
    def test_syntax(self):
46 -
        if sys.version_info < (3,):
47 -
            return self.skip('skipped (Python 3 only)')
46 +
        if not (3,) < sys.version_info < (3, 10):
47 +
            return self.skip('skipped (Python 3.0 to 3.9 only)')
48 48
        code = textwrap.dedent("""
49 49
            class Root:
50 50
                @cherrypy.expose

Learn more Showing 19 files with coverage changes found.

Changes in cherrypy/lib/gctools.py
-36
+36
Loading file...
Changes in cherrypy/_cptools.py
+1
Loading file...
Changes in cherrypy/test/helper.py
+1
Loading file...
Changes in cherrypy/_cpdispatch.py
+1
Loading file...
Changes in cherrypy/_cperror.py
+5
Loading file...
Changes in cherrypy/_cptree.py
+5
Loading file...
Changes in cherrypy/_cpwsgi.py
+7
Loading file...
Changes in cherrypy/test/test_states.py
-1
+1
Loading file...
Changes in cherrypy/_cpchecker.py
+1
Loading file...
Changes in cherrypy/lib/caching.py
+6
Loading file...
Changes in cherrypy/lib/reprconf.py
-1
+1
Loading file...
Changes in cherrypy/_cplogging.py
+4
Loading file...
Changes in cherrypy/test/test_conn.py
-3
+4
Loading file...
Changes in cherrypy/_cprequest.py
+49
Loading file...
Changes in cherrypy/_cpreqbody.py
+20
Loading file...
Changes in cherrypy/lib/sessions.py
-2
+12
Loading file...
Changes in cherrypy/test/test_wsgiapps.py
-1
+1
Loading file...
Changes in cherrypy/process/plugins.py
-2
+12
Loading file...
Changes in cherrypy/_cpserver.py
+24
Loading file...
Files Coverage
cherrypy +<.01% 80.81%
Project Totals (104 files) 80.81%
Loading