File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,11 @@ def _get_skiprows(skiprows):
103
103
elif skiprows is None :
104
104
return 0
105
105
raise TypeError (
106
+ << << << < HEAD
106
107
f"{ repr (type (skiprows ).__name__ )} is not a valid type for skipping rows"
108
+ == == == =
109
+ "%r is not a valid type for skipping rows" % type (skiprows ).__name__
110
+ >> >> >> > 8 bc80250a1760b6ee0fbdd26792d122b7adf8244
107
111
)
108
112
109
113
@@ -133,7 +137,11 @@ def _read(obj):
133
137
except (TypeError , ValueError ):
134
138
pass
135
139
else :
140
+ < << << << HEAD
136
141
raise TypeError (f"Cannot read object of type { repr (type (obj ).__name__ )} " )
142
+ == == == =
143
+ raise TypeError ("Cannot read object of type %r" % type (obj ).__name__ )
144
+ >> >> >> > 8 bc80250a1760b6ee0fbdd26792d122b7adf8244
137
145
return text
138
146
139
147
You can’t perform that action at this time.
0 commit comments