Tuning ValueHolder as I could not find better option to generate the double-underscore methods.
This commit is contained in:
@ -21,4 +21,3 @@ def test_deprecated_alias():
|
||||
|
||||
with pytest.warns(DeprecationWarning):
|
||||
foo()
|
||||
|
||||
|
||||
@ -35,6 +35,7 @@ def test_wrapper_name():
|
||||
|
||||
def test_valueholder():
|
||||
x = ValueHolder(42)
|
||||
|
||||
assert x == 42
|
||||
x += 1
|
||||
assert x == 43
|
||||
|
||||
Reference in New Issue
Block a user