Skip to content

Commit 503368e

Browse files
committed
tests: abbreviate test descriptions to stay on one line
1 parent 5105121 commit 503368e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test/test_input.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_dict_like():
106106

107107

108108
def test_numpy_2d():
109-
"Input: a two-dimensional NumPy array with headers."
109+
"Input: a 2D NumPy array with headers."
110110
try:
111111
import numpy
112112
na = (numpy.arange(1,10, dtype=numpy.float32).reshape((3,3))**3)*0.5
@@ -124,7 +124,7 @@ def test_numpy_2d():
124124

125125

126126
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."
128128
try:
129129
import numpy
130130
na = (numpy.arange(1,10, dtype=numpy.int32).reshape((3,3))**3)
@@ -142,7 +142,7 @@ def test_numpy_2d_firstrow():
142142

143143

144144
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."
146146
try:
147147
import numpy
148148
na = (numpy.arange(1,10, dtype=numpy.float32).reshape((3,3))**3)*0.5
@@ -160,7 +160,7 @@ def test_numpy_2d_keys():
160160

161161

162162
def test_numpy_record_array():
163-
"Input: a two-dimensional NumPy record array without header."
163+
"Input: a 2D NumPy record array without header."
164164
try:
165165
import numpy
166166
na = numpy.asarray([("Alice", 23, 169.5),
@@ -180,7 +180,7 @@ def test_numpy_record_array():
180180

181181

182182
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."
184184
try:
185185
import numpy
186186
na = numpy.asarray([("Alice", 23, 169.5),
@@ -200,7 +200,7 @@ def test_numpy_record_array_keys():
200200

201201

202202
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."
204204
try:
205205
import numpy
206206
na = numpy.asarray([("Alice", 23, 169.5),
@@ -381,7 +381,7 @@ def test_list_of_dicts_with_dict_of_headers():
381381

382382

383383
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)"
385385
table = [{"letters": "ABCDE", "digits": 12345}]
386386
headers = ["DIGITS", "LETTERS"]
387387
with assert_raises(ValueError):

test/test_regression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_alignment_of_colored_cells():
3737

3838

3939
def test_iter_of_iters_with_headers():
40-
"Regression: Generator of generators with a generator of headers (issue #9)."
40+
"Regression: Generator of generators with a gen. of headers (issue #9)."
4141

4242
def mk_iter_of_iters():
4343
def mk_iter():

0 commit comments

Comments
 (0)