@@ -106,7 +106,7 @@ def test_dict_like():
106
106
107
107
108
108
def test_numpy_2d ():
109
- "Input: a two-dimensional NumPy array with headers."
109
+ "Input: a 2D NumPy array with headers."
110
110
try :
111
111
import numpy
112
112
na = (numpy .arange (1 ,10 , dtype = numpy .float32 ).reshape ((3 ,3 ))** 3 )* 0.5
@@ -124,7 +124,7 @@ def test_numpy_2d():
124
124
125
125
126
126
def test_numpy_2d_firstrow ():
127
- "Input: a two-dimensional NumPy array with the first row as headers."
127
+ "Input: a 2D NumPy array with the first row as headers."
128
128
try :
129
129
import numpy
130
130
na = (numpy .arange (1 ,10 , dtype = numpy .int32 ).reshape ((3 ,3 ))** 3 )
@@ -142,7 +142,7 @@ def test_numpy_2d_firstrow():
142
142
143
143
144
144
def test_numpy_2d_keys ():
145
- "Input: a two-dimensional NumPy array with column indices as headers."
145
+ "Input: a 2D NumPy array with column indices as headers."
146
146
try :
147
147
import numpy
148
148
na = (numpy .arange (1 ,10 , dtype = numpy .float32 ).reshape ((3 ,3 ))** 3 )* 0.5
@@ -160,7 +160,7 @@ def test_numpy_2d_keys():
160
160
161
161
162
162
def test_numpy_record_array ():
163
- "Input: a two-dimensional NumPy record array without header."
163
+ "Input: a 2D NumPy record array without header."
164
164
try :
165
165
import numpy
166
166
na = numpy .asarray ([("Alice" , 23 , 169.5 ),
@@ -180,7 +180,7 @@ def test_numpy_record_array():
180
180
181
181
182
182
def test_numpy_record_array_keys ():
183
- "Input: a two-dimensional NumPy record array with column names as headers."
183
+ "Input: a 2D NumPy record array with column names as headers."
184
184
try :
185
185
import numpy
186
186
na = numpy .asarray ([("Alice" , 23 , 169.5 ),
@@ -200,7 +200,7 @@ def test_numpy_record_array_keys():
200
200
201
201
202
202
def test_numpy_record_array_headers ():
203
- "Input: a two-dimensional NumPy record array with user-supplied headers."
203
+ "Input: a 2D NumPy record array with user-supplied headers."
204
204
try :
205
205
import numpy
206
206
na = numpy .asarray ([("Alice" , 23 , 169.5 ),
@@ -381,7 +381,7 @@ def test_list_of_dicts_with_dict_of_headers():
381
381
382
382
383
383
def test_list_of_dicts_with_list_of_headers ():
384
- "Input: a list of headers for a list of dicts, raise ValueError (issue #23)"
384
+ "Input: ValueError on a list of headers with a list of dicts (issue #23)"
385
385
table = [{"letters" : "ABCDE" , "digits" : 12345 }]
386
386
headers = ["DIGITS" , "LETTERS" ]
387
387
with assert_raises (ValueError ):
0 commit comments