Skip to content

Commit

Permalink
Don't test Python
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Apr 18, 2023
1 parent 2166eff commit 659f0ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test_thingy.py
Expand Up @@ -49,9 +49,8 @@ def foo(self):
foo = Foo()
assert foo.foo == "bar"

with raises(AttributeError) as excinfo:
with raises(AttributeError):
foo = Foo(foo="baz")
assert str(excinfo.value) in ("can't set attribute", "can't set attribute 'foo'")

foo = Foo({"foo": "baz"})
assert foo._foo == "bar"
Expand Down

0 comments on commit 659f0ca

Please sign in to comment.