From 65ea8e014aa60b35b4260ff0fcf5d5e7bbcd9e68 Mon Sep 17 00:00:00 2001 From: dirkf Date: Thu, 12 Dec 2024 16:32:25 +0000 Subject: [PATCH] Again but better --- test/test_jsinterp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_jsinterp.py b/test/test_jsinterp.py index 2eea12045..d77f05da1 100644 --- a/test/test_jsinterp.py +++ b/test/test_jsinterp.py @@ -517,7 +517,7 @@ class TestJSInterpreter(unittest.TestCase): self._test('function f(){return "t-e-s-t".split(/[es-]+/)}', ['t', 't']) # from MDN: surrogate pairs aren't handled: case 1 fails, and case 2 beats Py3.2 - if sys.version_info >= (2, 6) and not ((3, 0) <= sys.version_info <= (3, 2)): + if sys.version_info >= (2, 6) and not ((3, 0) <= sys.version_info < (3, 3)): # self._test('function f(){return "😄😄".split(/(?:)/)}', # ['\ud83d', '\ude04', '\ud83d', '\ude04']) self._test('function f(){return "😄😄".split(/(?:)/u)}',