Skip to content

Pytest issues #383

@johnlabarge

Description

@johnlabarge

Just started a new project and I'm getting all kinds of colorama test failures from pytest:
lib/python3.11/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py::AnsiToWin32Test::test_native_windows_ansi - AssertionError: expected call not found.
FAILED lib/python3.11/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py::AnsiToWin32Test::test_osc_codes - AttributeError: 'NoneType' object has no attribute 'set_title'
FAILED lib/python3.11/site-packages/pip/_vendor/colorama/tests/winterm_test.py::WinTermTest::testInit - AttributeError: module 'pip._vendor.colorama.win32' has no attribute 'G...
FAILED lib/python3.11/site-packages/pip/_vendor/colorama/tests/winterm_test.py::WinTermTest::testResetAll - AttributeError: module 'pip._vendor.colorama.win32' has no attribute 'G...
FAILED lib/python3.11/site-packages/pip/_vendor/colorama/tests/winterm_test.py::WinTermTest::testSetConsole - AttributeError: module 'pip._vendor.colorama.win32' has no attribute 'G...
FAILED lib/python3.11/site-packages/pip/_vendor/colorama/tests/winterm_test.py::WinTermTest::testSetConsoleOnStderr - AttributeError: module 'pip._vendor.colorama.win32' has no attribute 'G...

Not sure how to fix these.
Python 3.11.7,
iniconfig==2.0.0
packaging==23.2
pluggy==1.4.0
pytest==7.4.4
PyYAML==6.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions