forked from pool/python312
REmove A0 chars.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=139
This commit is contained in:
@@ -71,7 +71,7 @@ Index: Python-3.12.10/Include/cpython/unicodeobject.h
|
||||
Index: Python-3.12.10/Lib/test/test_codeccallbacks.py
|
||||
===================================================================
|
||||
--- Python-3.12.10.orig/Lib/test/test_codeccallbacks.py 2025-05-22 14:37:58.935377659 +0200
|
||||
+++ Python-3.12.10/Lib/test/test_codeccallbacks.py 2025-05-27 15:51:28.818768066 +0200
|
||||
+++ Python-3.12.10/Lib/test/test_codeccallbacks.py 2025-05-27 16:10:07.476764666 +0200
|
||||
@@ -1,6 +1,7 @@
|
||||
import codecs
|
||||
import html.entities
|
||||
@@ -114,8 +114,8 @@ Index: Python-3.12.10/Lib/test/test_codeccallbacks.py
|
||||
+ self.assertEqual(decode(input, 'test.mutating2'), (expected, len(input)))
|
||||
+ self.assertIn(msg, str(cm.warning))
|
||||
+
|
||||
+ check(br'\x0n\z', '\u0404\n\\z', r"invalid escape sequence '\\z'")
|
||||
+ check(br'\x0n\501', '\u0404\n\u0141', r"invalid octal escape sequence '\\501'")
|
||||
+ check(br'\x0n\z', '\u0404\n\\z', r"invalid escape sequence '\\z'")
|
||||
+ check(br'\x0n\501', '\u0404\n\u0141', r"invalid octal escape sequence '\\501'")
|
||||
+ check(br'\x0z', '\u0404\\z', r"invalid escape sequence '\z'")
|
||||
+
|
||||
+ check(br'\x3n\zr', '\u0404\n\\zr', r"invalid escape sequence '\z'")
|
||||
|
||||
Reference in New Issue
Block a user