Skip to content

Commit

Permalink
Remove deprecated U mode and then rely on default parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 19, 2024
1 parent 35c49da commit 6c5b538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c5b538

Please sign in to comment.