Skip to content

Commit c665a2d

Browse files
authored
Fix tests (hopefully it will still work)
1 parent 62db957 commit c665a2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/test_ctypes/test_dlerror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class TestLocalization(unittest.TestCase):
123123

124124
@staticmethod
125125
def configure_locales(func):
126-
return test.support.run_with_locale(
126+
return test.support.run_with_locales(
127127
'LC_ALL',
128128
'fr_FR.iso88591', 'ja_JP.sjis', 'zh_CN.gbk',
129129
'fr_FR.utf8', 'en_US.utf8',

Lib/test/test_dbm_gnu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def test_clear(self):
206206
self.assertNotIn(k, db)
207207
self.assertEqual(len(db), 0)
208208

209-
@support.run_with_locale(
209+
@support.run_with_locales(
210210
'LC_ALL',
211211
'fr_FR.iso88591', 'ja_JP.sjis', 'zh_CN.gbk',
212212
'fr_FR.utf8', 'en_US.utf8',

0 commit comments

Comments
 (0)