Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcf1a5 commit 6453e9eCopy full SHA for 6453e9e
1 file changed
Lib/test/test_capi.py
@@ -583,6 +583,7 @@ def test_buffer_overflow(self):
583
r" .*\n"
584
r" The block was made by call #[0-9]+ to debug malloc/realloc.\n"
585
r" Data at p: cb cb cb .*\n"
586
+ r"\n"
587
r"Fatal Python error: bad trailing pad byte")
588
regex = regex.format(ptr=self.PTR_REGEX)
589
regex = re.compile(regex, flags=re.DOTALL)
@@ -596,6 +597,7 @@ def test_api_misuse(self):
596
597
r" The [0-9] pad bytes at tail={ptr} are FORBIDDENBYTE, as expected.\n"
598
599
600
601
r"Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'\n")
602
603
self.assertRegex(out, regex)
0 commit comments