Skip to content

Commit 88a8a17

Browse files
committed
CLN: Deprecation of assert_
Fix formatting of one multi-line assertion, from assert_ --> assertTrue cleanup
1 parent bc17b7b commit 88a8a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/tests/test_packers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_numpy_array_complex(self):
179179
x = (np.random.rand(5) + 1j * np.random.rand(5)).astype(np.complex128)
180180
x_rec = self.encode_decode(x)
181181
self.assertTrue(all(map(lambda x, y: x == y, x, x_rec)) and
182-
x.dtype == x_rec.dtype)
182+
x.dtype == x_rec.dtype)
183183

184184
def test_list_mixed(self):
185185
x = [1.0, np.float32(3.5), np.complex128(4.25), u('foo')]

0 commit comments

Comments
 (0)