From 6c5b538b2c563650ed72d3c6c46a06e2ca95cc99 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 19 Feb 2024 03:23:52 -0500 Subject: [PATCH] Remove deprecated U mode and then rely on default parameter. --- tests/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_io.py b/tests/test_io.py index 53e1094..4fde027 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -376,7 +376,7 @@ def test_opened_files(self): finally: f.close() - f = open(filepath, "rU", newline=None) + f = open(filepath, newline=None) try: records = io.read_csv(f, sanitize=True)