mirror of
https://github.com/python/cpython.git
synced 2026-06-04 16:50:51 +00:00
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).
This commit is contained in:
parent
192796cfd4
commit
ec9ce3ee98
2 changed files with 2 additions and 4 deletions
2
.github/workflows/reusable-windows.yml
vendored
2
.github/workflows/reusable-windows.yml
vendored
|
|
@ -22,8 +22,6 @@ permissions:
|
|||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
IncludeUwp: >-
|
||||
true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue