Skip to content

Commit 0213817

Browse files
[3.15] 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). (cherry picked from commit ec9ce3e) Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent 3227857 commit 0213817

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/reusable-windows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ permissions:
2222

2323
env:
2424
FORCE_COLOR: 1
25-
IncludeUwp: >-
26-
true
2725

2826
jobs:
2927
build:

Lib/test/test_tcl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_eval_null_in_result(self):
5555
def test_eval_surrogates_in_result(self):
5656
tcl = self.interp
5757
result = tcl.eval(r'set a "<\ud83d\udcbb>"')
58-
if sys.platform == 'win32':
58+
if sys.platform == 'win32' and tcl_version >= (9, 0):
5959
self.assertEqual('<\ud83d\udcbb>', result)
6060
else:
6161
self.assertEqual('<\U0001f4bb>', result)
@@ -294,7 +294,7 @@ def test_evalfile_surrogates_in_result(self):
294294
""")
295295
tcl.evalfile(filename)
296296
result = tcl.eval('set b')
297-
if sys.platform == 'win32':
297+
if sys.platform == 'win32' and tcl_version >= (9, 0):
298298
self.assertEqual('<\ud83d\udcbb>', result)
299299
else:
300300
self.assertEqual('<\U0001f4bb>', result)

0 commit comments

Comments
 (0)