Skip to content

fix: small change in file encoding to run on win#75

Open
denini08 wants to merge 1 commit intodogsheep:mainfrom
denini08:main
Open

fix: small change in file encoding to run on win#75
denini08 wants to merge 1 commit intodogsheep:mainfrom
denini08:main

Conversation

@denini08
Copy link

Fix #74

I tried running the tests on Windows and noticed that tests/test_save_tweets.py fails because the file tweets.json was opened without an explicit encoding.

This PR fixes the issue by adding encoding='utf-8' when opening the file, ensuring the tests work correctly on both Linux and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests fail on Windows due to missing file encoding

1 participant