Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
picnixz committed Dec 13, 2024
1 parent 26f074c commit cb4d5e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/test/test_dbm_gnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ def test_clear(self):
)
def test_localized_error(self):
with temp_dir() as d:
filename = os.path.join(os.fsencode(d), b'\xff')
create_empty_file(filename)
create_empty_file(os.path.join(d, TESTFN))
self.assertRaises(gdbm.error, gdbm.open, filename, 'r')


Expand Down

0 comments on commit cb4d5e4

Please sign in to comment.