diff --git a/stdlib/xxlimited.pyi b/stdlib/xxlimited.pyi index b2fb72ad2..d4f41bbaf 100644 --- a/stdlib/xxlimited.pyi +++ b/stdlib/xxlimited.pyi @@ -7,6 +7,8 @@ class Str: ... @final class Xxo: def demo(self) -> None: ... + if sys.version_info >= (3, 11) and sys.platform != "win32": + x_exports: int def foo(__i: int, __j: int) -> Any: ... def new() -> Xxo: ... diff --git a/tests/stubtest_allowlists/darwin-py311.txt b/tests/stubtest_allowlists/darwin-py311.txt index c851f2085..e269cc199 100644 --- a/tests/stubtest_allowlists/darwin-py311.txt +++ b/tests/stubtest_allowlists/darwin-py311.txt @@ -1,5 +1,4 @@ _?curses.color_pair -xxlimited.Xxo.x_exports (dbm.gnu)? (locale.bind_textdomain_codeset)? diff --git a/tests/stubtest_allowlists/darwin-py312.txt b/tests/stubtest_allowlists/darwin-py312.txt index e50d2facc..1d424177d 100644 --- a/tests/stubtest_allowlists/darwin-py312.txt +++ b/tests/stubtest_allowlists/darwin-py312.txt @@ -4,7 +4,6 @@ _curses.window.get_wch _posixsubprocess.fork_exec curses.unget_wch curses.window.get_wch -xxlimited.Xxo.x_exports (dbm.gnu)? (locale.bind_textdomain_codeset)? diff --git a/tests/stubtest_allowlists/linux-py311.txt b/tests/stubtest_allowlists/linux-py311.txt index 97aec2409..639f3c1db 100644 --- a/tests/stubtest_allowlists/linux-py311.txt +++ b/tests/stubtest_allowlists/linux-py311.txt @@ -1,4 +1,3 @@ _?curses.color_pair signal.sigtimedwait signal.sigwaitinfo -xxlimited.Xxo.x_exports diff --git a/tests/stubtest_allowlists/linux-py312.txt b/tests/stubtest_allowlists/linux-py312.txt index e73f41155..3d07e183f 100644 --- a/tests/stubtest_allowlists/linux-py312.txt +++ b/tests/stubtest_allowlists/linux-py312.txt @@ -2,7 +2,6 @@ _?curses.color_pair _posixsubprocess.fork_exec signal.sigtimedwait signal.sigwaitinfo -xxlimited.Xxo.x_exports # Exists on some Linux builds, and is documented, # but is unavailable in Github Actions on Linux with Python 3.12