Skip to content

Commit 3523ff6

Browse files
committed
Merge from v6
2 parents 21394fc + a238e28 commit 3523ff6

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGES.rst

+7
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ Version 7
7373
Version 6
7474
#########
7575

76+
6.16 (2025-03-17)
77+
~~~~~~~~~~~~~~~~~
78+
79+
- No visible changes, just a workaround to a strange CI Windows-only failure on a test
80+
introduced by v6.15
81+
82+
7683
6.15 (2025-03-17)
7784
~~~~~~~~~~~~~~~~~
7885

tests/test_printers_prettification.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# :Created: dom 17 mar 2019 10:46:03 CET
44
# :Author: Lele Gaifax <lele@metapensiero.it>
55
# :License: GNU General Public License version 3 or later
6-
# :Copyright: © 2019, 2020, 2021, 2024 Lele Gaifax
6+
# :Copyright: © 2019, 2020, 2021, 2024, 2025 Lele Gaifax
77
#
88

99
from ast import literal_eval
@@ -84,6 +84,9 @@ def test_prettification(src, lineno, case):
8484
expected = parts[0].strip().replace('\\n\\\n', '\n').replace('\\s', ' ')
8585
if expected.endswith('\\'):
8686
expected = expected[:-1] + '\n'
87+
if '{ZERO WIDTH NO-BREAK SPACE}' in expected:
88+
expected = expected.replace('{ZERO WIDTH NO-BREAK SPACE}',
89+
'\N{ZERO WIDTH NO-BREAK SPACE}')
8790
if len(parts) == 2:
8891
options = literal_eval(parts[1])
8992
else:

tests/test_printers_prettification/dml/select.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ footer
458458
select 1
459459
-- */ foobar
460460
=
461-
SELECT 1 /**/ foobar*/
461+
SELECT 1 /**{ZERO WIDTH NO-BREAK SPACE}/ foobar*/
462462
:
463463
{'preserve_comments': True, 'raw_stream': True}
464464

0 commit comments

Comments
 (0)