Skip to content

Commit 8514688

Browse files
committed
TST: add test for lack of Series.info
1 parent 25b50b3 commit 8514688

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tests/test_series.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,6 +2741,12 @@ def test_fillna_raise(self):
27412741
self.assertRaises(TypeError, s.fillna, [1, 2])
27422742
self.assertRaises(TypeError, s.fillna, (1, 2))
27432743

2744+
def test_raise_on_info(self):
2745+
s = Series(np.random.randn(10))
2746+
with tm.assertRaises(AttributeError):
2747+
s.info()
2748+
2749+
27442750
# TimeSeries-specific
27452751

27462752
def test_fillna(self):

0 commit comments

Comments
 (0)