Skip to content

Commit 06ef107

Browse files
committed
try foo variation, instead
1 parent 85baae3 commit 06ef107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/base/test_constructors.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ def test_invalid_delegation(self):
8080

8181
msg = "You cannot access the property foo"
8282
with pytest.raises(TypeError, match=msg):
83-
delegate.inaccesible
83+
delegate.foox
8484

8585
msg = "The property foo cannot be set"
8686
with pytest.raises(TypeError, match=msg):
87-
delegate.inaccesible = 5
87+
delegate.foox = 5
8888

8989
msg = "You cannot access the property foo"
9090
with pytest.raises(TypeError, match=msg):
91-
delegate.inaccesible()
91+
delegate.foox()
9292

9393
@pytest.mark.skipif(PYPY, reason="not relevant for PyPy")
9494
def test_memory_usage(self):

0 commit comments

Comments
 (0)