https://github.com/python/cpython/commit/ec9ce3ee98c68f235be6d075fa4bbd8f56d20256
commit: ec9ce3ee98c68f235be6d075fa4bbd8f56d20256
branch: main
author: Steve Dower <[email protected]>
committer: zooba <[email protected]>
date: 2026-05-19T21:27:44+01:00
summary:
gh-124111: Keep tests passing for Tcl prior to 9.0 (GH-150102)
Also disables the UWP build in CI, since it was breaking (and is no longer
released).
files:
M .github/workflows/reusable-windows.yml
M Lib/test/test_tcl.py
diff --git a/.github/workflows/reusable-windows.yml
b/.github/workflows/reusable-windows.yml
index 4c8d0c8a2f984f..c6e8128884e90c 100644
--- a/.github/workflows/reusable-windows.yml
+++ b/.github/workflows/reusable-windows.yml
@@ -22,8 +22,6 @@ permissions:
env:
FORCE_COLOR: 1
- IncludeUwp: >-
- true
jobs:
build:
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 81a5477b496b5c..70731d3222ced9 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -55,7 +55,7 @@ def test_eval_null_in_result(self):
def test_eval_surrogates_in_result(self):
tcl = self.interp
result = tcl.eval(r'set a "<\ud83d\udcbb>"')
- if sys.platform == 'win32':
+ if sys.platform == 'win32' and tcl_version >= (9, 0):
self.assertEqual('<\ud83d\udcbb>', result)
else:
self.assertEqual('<\U0001f4bb>', result)
@@ -294,7 +294,7 @@ def test_evalfile_surrogates_in_result(self):
""")
tcl.evalfile(filename)
result = tcl.eval('set b')
- if sys.platform == 'win32':
+ if sys.platform == 'win32' and tcl_version >= (9, 0):
self.assertEqual('<\ud83d\udcbb>', result)
else:
self.assertEqual('<\U0001f4bb>', result)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]