Skip to content

Commit

Permalink
Fix test_misuse_reinit()
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed Jan 31, 2024
1 parent 48972a6 commit d6d7c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_dbm_sqlite3.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def test_misuse_use_after_close(self):

def test_misuse_reinit(self):
with self.assertRaises(dbm_sqlite3.error):
self.db.__init__("new.db", flag="rw")
self.db.__init__("new.db", flag="n", mode=0o666)

def test_misuse_empty_filename(self):
for flag in "r", "w", "c", "n":
Expand Down

0 comments on commit d6d7c66

Please sign in to comment.