Skip to content

fix: Colorama's custom AnsiCodes doesn't work with typing module - #432

Draft
caorantaoyao wants to merge 1 commit into
tartley:masterfrom
caorantaoyao:fix/issue-91-6d5341
Draft

fix: Colorama's custom AnsiCodes doesn't work with typing module#432
caorantaoyao wants to merge 1 commit into
tartley:masterfrom
caorantaoyao:fix/issue-91-6d5341

Conversation

@caorantaoyao

Copy link
Copy Markdown

Fixes #91

Root cause

See the linked issue #91 for the failure report and reproduction.

Summary

See the diff. The change is minimal and localized.

Changed files

  • colorama/ansi.py
  • colorama/tests/ansi_test.py

Verification

  • pytest -q --tb=short --no-header
  • Target test passes after the fix
  • Full regression suite passes

Low risk. Changes are localized and covered by tests.

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.

Colorama's custom AnsiCodes doesn't work with typing module

1 participant