Skip to content

Commit c7b6785

Browse files
committed
Fix selftests broken by d916a0f
1 parent 1ef4c98 commit c7b6785

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

testcpychecker.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,12 +339,16 @@ def test_format_code_u(self):
339339
def test_format_code_es(self):
340340
self._test_format_code('es',
341341
['const char', 'char *'],
342-
['one of "const char *" (pointing to 8 bits) or NULL', '"char *"'])
342+
[('one of "const char *" (pointing to 8 bits)'
343+
' or "char *" (pointing to 8 bits) or NULL'),
344+
'"char * *"'])
343345

344346
def test_format_code_et(self):
345347
self._test_format_code('et',
346348
['const char', 'char *'],
347-
['one of "const char *" (pointing to 8 bits) or NULL', '"char * *"'])
349+
[('one of "const char *" (pointing to 8 bits)'
350+
' or "char *" (pointing to 8 bits) or NULL'),
351+
'"char * *"'])
348352

349353
# "es#" and "et#" are affected by the PY_SSIZE_T_CLEAN macro; we test them
350354
# within:

0 commit comments

Comments
 (0)