diff --git a/cherrypy/test/test_core.py b/cherrypy/test/test_core.py
index <HASH>..<HASH> 100644
--- a/cherrypy/test/test_core.py
+++ b/cherrypy/test/test_core.py
@@ -372,7 +372,7 @@ class CoreRequestHandlingTest(helper.CPWebCase):
         ignore.append(TypeError)
         try:
             self.getPage("/params/?notathing=meeting")
-            self.assertInBody("TypeError: index() got an unexpected keyword argument 'notathing'")
+            self.assertInBody("index() got an unexpected keyword argument 'notathing'")
         finally:
             ignore.pop()
Fix for test which broke in [<I>].