Skip to content

Commit

Permalink
Again but better
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf authored Dec 12, 2024
1 parent 803210d commit 65ea8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_jsinterp.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def test_split(self):
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)}',
Expand Down

0 comments on commit 65ea8e0

Please sign in to comment.