We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa3d3a commit e8d748dCopy full SHA for e8d748d
pandas/tests/test_common.py
@@ -286,4 +286,7 @@ def test_pyarrow_missing_warn(module):
286
please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466
287
""" # noqa: E501
288
stderr_msg = response.stderr.decode("utf-8")
289
- assert msg in stderr_msg, stderr_msg
+ # Split by \n to avoid \r\n vs \n differences on Windows/Unix
290
+ # https://stackoverflow.com/questions/11989501/replacing-r-n-with-n
291
+ stderr_msg = "\n".join(stderr_msg.splitlines())
292
+ assert msg in stderr_msg
0 commit comments