diff --git a/test/test_python.py b/test/test_python.py index 7503badc6..989f7a9c4 100644 --- a/test/test_python.py +++ b/test/test_python.py @@ -530,3 +530,12 @@ def test_runpythonasync_exception_after_import(selenium_standalone): assert "ZeroDivisionError" in str(e) else: assert False + + +def test_cprofile(selenium_standalone): + selenium_standalone.run( + """ + import cProfile + cProfile.run("import colorsys") + """ + )