There was an error while loading. Please reload this page.
1 parent 89a8ac9 commit 95e3701Copy full SHA for 95e3701
1 file changed
Lib/test/test_capi/test_bytes.py
@@ -1,5 +1,6 @@
1
import textwrap
2
import unittest
3
+from test import support
4
from test.support import import_helper
5
from test.support.script_helper import assert_python_failure
6
@@ -432,6 +433,7 @@ def test_example_resize(self):
432
433
def test_example_highlevel(self):
434
self.assertEqual(_testcapi.byteswriter_highlevel(), b'Hello World!')
435
436
+ @unittest.skipUnless(support.Py_DEBUG, 'need a Python debug build')
437
def test_canary_byte(self):
438
small_buffer = _testcapi.PyBytesWriter_small_buffer
439
large_size = small_buffer * 10
0 commit comments