Skip to content

Commit ccb6f61

Browse files
Introduce emtpy match in pytest.raises for flake8
1 parent 661c853 commit ccb6f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/parser/test_textreader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def test_integer_overflow_with_user_dtype(self, dtype):
167167
tm.assert_numpy_array_equal(result[0], expected)
168168

169169
reader = TextReader(StringIO(f"{maxint + 1}"), header=None, dtype=dtype)
170-
with pytest.raises(Exception):
170+
with pytest.raises(Exception, match=""):
171171
reader.read()
172172

173173
def test_skip_bad_lines(self, capsys):

0 commit comments

Comments
 (0)