Issue #25548: Showing memory address of class objects in repl
diff --git a/Lib/test/test_wsgiref.py b/Lib/test/test_wsgiref.py
index b7d02e8..3977e23 100644
--- a/Lib/test/test_wsgiref.py
+++ b/Lib/test/test_wsgiref.py
@@ -161,10 +161,10 @@
         self.assertTrue(out.endswith(
             b"A server error occurred.  Please contact the administrator."
         ))
-        self.assertEqual(
+        self.assertRegex(
             err.splitlines()[-2],
-            "AssertionError: Headers (('Content-Type', 'text/plain')) must"
-            " be of type list: <class 'tuple'>"
+            r"AssertionError: Headers \(\('Content-Type', 'text/plain'\)\) must"
+            r" be of type list: <class 'tuple' at 0x.+>"
         )
 
     def test_status_validation_errors(self):
@@ -704,3 +704,4 @@
 
 if __name__ == "__main__":
     unittest.main()
+