Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 28, 2021
1 parent f3f9023 commit cd244ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _unittests/ut_df/test_streaming_dataframe.py
Expand Up @@ -86,11 +86,11 @@ def test_read_csv(self):
sdf2 = StreamingDataFrame.read_csv(name2, index_col=0)
text2 = sdf2.to_csv(index=True)
sdf2.to_csv(name3, index=True)
with open(name, "r") as f: # pylint: disable=W1514
with open(name, "r", encoding='utf-8') as f:
exp = f.read()
with open(name2, "r") as f: # pylint: disable=W1514
with open(name2, "r", encoding='utf-8') as f:
exp2 = f.read()
with open(name3, "r") as f: # pylint: disable=W1514
with open(name3, "r", encoding='utf-8') as f:
text3 = f.read()
self.assertEqual(text.replace('\r', ''), exp)
sdf2 = StreamingDataFrame.read_df(df)
Expand Down

0 comments on commit cd244ea

Please sign in to comment.