Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pyscriptc/stdmore.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ def _host_attr(owner: Any, name: str) -> Any:
"is_normalized": _sig([_S, _S], _B, "ps_unicode_is_normalized"),
"bidirectional": _sig([_S], _S, "ps_unicode_bidirectional"),
"east_asian_width": _sig([_S], _S, "ps_unicode_east_asian_width"),
"mirrored": _sig([_S], _B, "ps_unicode_mirrored"),
"mirrored": _sig([_S], _I, "ps_unicode_mirrored"),
"decimal": _sig([_S], _I, "ps_unicode_decimal"),
"digit": _sig([_S], _I, "ps_unicode_digit"),
"numeric": _sig([_S], _F, "ps_unicode_numeric"),
Expand Down
3 changes: 1 addition & 2 deletions tests/test_stdlib_call_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
# a real difference from CPython 3.14 tracked as an issue; the entry is what
# makes the batch an xfail instead of a failure, and it must be removed when
# the row is fixed (the batch then passes on its own).
MIRRORED_DIVERGENCE = "issue #712 (unicodedata.mirrored return kind)"
PLATFORM_DIVERGENCE = "issue #713 (platform.platform output)"
REALPATH_DIVERGENCE = "issue #714 (os.path.realpath on a missing target)"

Expand Down Expand Up @@ -372,7 +371,7 @@ def _p(module: str, member: str, group: str, *lines: str, divergence: str | None
_p("unicodedata", "is_normalized", "text", "print(unicodedata.is_normalized('NFC', 'caf\\u00e9'))"),
_p("unicodedata", "bidirectional", "text", "print(unicodedata.bidirectional('a'))"),
_p("unicodedata", "east_asian_width", "text", "print(unicodedata.east_asian_width('a'))"),
_p("unicodedata", "mirrored", "text", "print(unicodedata.mirrored('('))", divergence=MIRRORED_DIVERGENCE),
_p("unicodedata", "mirrored", "text", "print(unicodedata.mirrored('('))"),
_p("unicodedata", "decimal", "text", "print(unicodedata.decimal('7'))"),
_p("unicodedata", "digit", "text", "print(unicodedata.digit('7'))"),
_p("unicodedata", "numeric", "text", "print(unicodedata.numeric('7'))"),
Expand Down
Loading