Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOsika committed Sep 2, 2023
1 parent 26db521 commit 72361ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_error_messages(tmp_path):
with pytest.raises(TypeError) as e:
db["key"] = ["Invalid", "value"]

assert str(e.value) == "val must be either a str or bytes"
assert str(e.value) == "val must be str"


def test_DBs_instantiation_with_wrong_number_of_arguments(tmp_path):
Expand Down

0 comments on commit 72361ae

Please sign in to comment.