Add max deps and bump old ones
All checks were successful
Publish documentation / publish (push) Successful in 51s
Check / Test on Python 3.10 (push) Successful in 1m1s
Check / Lint, format & type checks (push) Successful in 1m9s
Check / Test on Python 3.11 (push) Successful in 51s
Check / Test on Python 3.12 (push) Successful in 58s
Check / Test on Python 3.13 (push) Successful in 55s

This commit is contained in:
Andras Schmelczer 2026-06-06 22:29:16 +01:00
parent 2403a20ed0
commit c55eba2077
18 changed files with 98 additions and 75 deletions

View file

@ -14,11 +14,14 @@ def test_simple() -> None:
assert c.first_key == "András"
assert c.second_key == "test 2"
assert c.third_key == "test= 2=="
assert c.fourth_key == """
assert (
c.fourth_key
== """
this#
is
multiline
"""
)
assert c.whitespace == "hardly matters"
with pytest.raises(KeyError):
c.this
@ -31,11 +34,14 @@ def test_simple_dict() -> None:
assert c["my_hashtag"] == "#great_ai"
assert c["second_key"] == "test 2"
assert c["third_key"] == "test= 2=="
assert c["fourth_key"] == """
assert (
c["fourth_key"]
== """
this#
is
multiline
"""
)
assert c["whitespace"] == "hardly matters"
with pytest.raises(KeyError):
c["#this"]
@ -49,11 +55,14 @@ def test_string_path() -> None:
assert c.second_key == "test 2"
assert c.third_key == "test= 2=="
assert c.fourth_key == """
assert (
c.fourth_key
== """
this#
is
multiline
"""
)
assert c.whitespace == "hardly matters"