Skip to content

Commit 6798f21

Browse files
committed
fix dbm tests
1 parent cb4d5e4 commit 6798f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_dbm_gnu.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,12 @@ def test_clear(self):
209209
@support.run_with_locale(
210210
'LC_ALL',
211211
'fr_FR.iso88591', 'ja_JP.sjis', 'zh_CN.gbk',
212+
'fr_FR.utf8', 'en_US.utf8',
212213
'',
213214
)
214215
def test_localized_error(self):
215216
with temp_dir() as d:
216-
create_empty_file(os.path.join(d, TESTFN))
217+
create_empty_file(os.path.join(d, 'test'))
217218
self.assertRaises(gdbm.error, gdbm.open, filename, 'r')
218219

219220

0 commit comments

Comments
 (0)