dogsheep / dogsheep/twitter-to-sqlite

Tests fail on Windows due to missing file encoding

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
416
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When running the tests on Windows, I noticed that some of them fail because open() is called without specifying an encoding. On Linux, this works fine because the system default encoding usually matches the file, but on Windows the default is different (cp1252), which causes json.load to throw errors when reading tweets.json.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.