tests and orderedset updates for 3.12 upgrade

This commit is contained in:
samathad2023
2024-03-08 15:00:48 -08:00
parent 25c8026d89
commit c3bb44129c
7 changed files with 748 additions and 806 deletions

View File

@@ -21,7 +21,10 @@ def test_raises_when_overriding_custom_properties():
with pytest.raises(AttributeError) as e:
Custom({"foo": "NOPE"})
assert str(e.value) == "can't set attribute"
assert (
str(e.value)
== "property 'foo' of 'test_raises_when_overriding_custom_properties.<locals>.Custom' object has no setter"
)
@pytest.mark.parametrize(