bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)
(cherry picked from commit 94eee69e9b3a7e7d33142a47ffea560beb8f1596)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
diff --git a/Lib/test/test_bdb.py b/Lib/test/test_bdb.py
index 6e82cce..ae16880 100644
--- a/Lib/test/test_bdb.py
+++ b/Lib/test/test_bdb.py
@@ -726,7 +726,7 @@
('line', 2, 'tfunc_import'), ('step', ),
('line', 3, 'tfunc_import'), ('quit', ),
]
- skip = ('importlib*', 'zipimport', TEST_MODULE)
+ skip = ('importlib*', 'zipimport', 'encodings.*', TEST_MODULE)
with TracerRun(self, skip=skip) as tracer:
tracer.runcall(tfunc_import)