File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -1914,9 +1914,6 @@ def __unicode__(self):
1914
1914
return "%-12.12s (shape->%s)" % (self .pandas_type , s )
1915
1915
return self .pandas_type
1916
1916
1917
- def __str__ (self ):
1918
- return self .__repr__ ()
1919
-
1920
1917
def set_object_info (self ):
1921
1918
""" set my pandas type & version """
1922
1919
self .attrs .pandas_type = str (self .pandas_kind )
Original file line number Diff line number Diff line change @@ -313,6 +313,16 @@ def test_repr(self):
313
313
repr (store )
314
314
str (store )
315
315
316
+ # storers
317
+ with ensure_clean (self .path ) as store :
318
+
319
+ df = tm .makeDataFrame ()
320
+ store .append ('df' ,df )
321
+
322
+ s = store .get_storer ('df' )
323
+ repr (s )
324
+ str (s )
325
+
316
326
def test_contains (self ):
317
327
318
328
with ensure_clean (self .path ) as store :
You can’t perform that action at this time.
0 commit comments