@@ -155,7 +155,7 @@ def test_to_string_repr_unicode(self):
155
155
line = line .decode (get_option ("display.encoding" ))
156
156
except :
157
157
pass
158
- if not line .startswith ('Dtype :' ):
158
+ if not line .startswith ('dtype :' ):
159
159
self .assert_ (len (line ) == line_len )
160
160
161
161
# it works even if sys.stdin in None
@@ -1081,7 +1081,7 @@ def test_float_trim_zeros(self):
1081
1081
2.03954217305e+10 , 5.59897817305e+10 ]
1082
1082
skip = True
1083
1083
for line in repr (DataFrame ({'A' : vals })).split ('\n ' ):
1084
- if line .startswith ('Dtype :' ):
1084
+ if line .startswith ('dtype :' ):
1085
1085
continue
1086
1086
if _three_digit_exp ():
1087
1087
self .assert_ (('+010' in line ) or skip )
@@ -1143,7 +1143,7 @@ def test_to_string(self):
1143
1143
cp .name = 'foo'
1144
1144
result = cp .to_string (length = True , name = True , dtype = True )
1145
1145
last_line = result .split ('\n ' )[- 1 ].strip ()
1146
- self .assertEqual (last_line , "Freq: B, Name: foo, Length: %d, Dtype : float64" % len (cp ))
1146
+ self .assertEqual (last_line , "Freq: B, Name: foo, Length: %d, dtype : float64" % len (cp ))
1147
1147
1148
1148
def test_freq_name_separation (self ):
1149
1149
s = Series (np .random .randn (10 ),
@@ -1199,7 +1199,7 @@ def test_float_trim_zeros(self):
1199
1199
vals = [2.08430917305e+10 , 3.52205017305e+10 , 2.30674817305e+10 ,
1200
1200
2.03954217305e+10 , 5.59897817305e+10 ]
1201
1201
for line in repr (Series (vals )).split ('\n ' ):
1202
- if line .startswith ('Dtype :' ):
1202
+ if line .startswith ('dtype :' ):
1203
1203
continue
1204
1204
if _three_digit_exp ():
1205
1205
self .assert_ ('+010' in line )
0 commit comments