I'm assuming this is correct, it fixes the tests so they pass again
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index 57edd26..21cd1b9 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -1068,6 +1068,7 @@
 only_strict_mode = [
     "idna",
     "zlib_codec",
+    "bz2_codec",
 ]
 
 try: