generated from rochacbruno/python-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
After converting tests from secrets.js, found tests_win in the GitHub workflow is failing UTF8 tests. It appears to be caused by Windows defaulting to CP-1252 encoding.
Since these are converted tests from the secrets.js package, going to apply a workaround to skip the failed tests.
Will focus efforts on dealing with the UTF8 if/when issue are encountered affect the Python implementation.
Workaround
Currently skipping the windows testing.
@pytest.mark.skipif(
sys.platform.startswith("win"), reason="Windows defaults to CP-1252"
)
def test_with_UTF8():
...@pytest.mark.skipif(
sys.platform.startswith("win"), reason="Windows defaults to CP-1252"
)
def test_initialization():
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed