Skip to content

Commit

Permalink
Update tests for bugfixes in wcwidth 0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Oct 31, 2023
1 parent 4445724 commit f358b88
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.13.0 (in development)
------------------------
- Increase minimum wcwidth version to 0.2.9

v0.12.1 (2023-10-10)
--------------------
- Support Python 3.9 through 3.12
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ include_package_data = True
python_requires = >=3.7
install_requires =
attrs >= 18.1
wcwidth ~= 0.2.0
wcwidth ~= 0.2.9

[options.packages.find]
where = src
Expand Down
2 changes: 1 addition & 1 deletion src/txtble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
)
from .util import with_color_stripped

__version__ = "0.12.1"
__version__ = "0.13.0.dev1"
__author__ = "John Thorvald Wodder II"
__author_email__ = "txtble@varonathe.org"
__license__ = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion test/test_unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_leading_combining() -> None:
"|Category|Name |Glyph|\n"
"+--------+-----------------------------------------+-----+\n"
"|Mn |COMBINING ACUTE ACCENT | \u0301 |\n"
"|Mc |DEVANAGARI SIGN VISARGA | \u0903 |\n"
"|Mc |DEVANAGARI SIGN VISARGA | \u0903 |\n"
"|Me |COMBINING CYRILLIC HUNDRED THOUSANDS SIGN| \u0488 |\n"
"+--------+-----------------------------------------+-----+"
)
Expand Down
4 changes: 2 additions & 2 deletions test/test_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ def test_wrap_long_soft_hyphenated_word(hyph_break: bool) -> None:
"|consectetur |\n"
"|adipisicing elit |\n"
"+--------------------+\n"
"|anti\xADdis\xADestablish\xADm|\n"
"|ent\xADari\xADan\xADism |\n"
"|anti\xADdis\xADestablish\xADment\xAD|\n"
"|ari\xADan\xADism |\n"
"+--------------------+"
)

Expand Down

0 comments on commit f358b88

Please sign in to comment.