summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-04 20:30:33 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-04 20:30:33 (GMT)
commitaeb6ceead796af4746f5b2f816b23654816033b7 (patch)
tree9836b77eb1f4868f39bc499d3c6d8abe3f13bbca /Lib/test/test_sys.py
parent8f2e07b7d0510a008bcf63640ebe66d397e0bf52 (diff)
downloadcpython-aeb6ceead796af4746f5b2f816b23654816033b7.zip
cpython-aeb6ceead796af4746f5b2f816b23654816033b7.tar.gz
cpython-aeb6ceead796af4746f5b2f816b23654816033b7.tar.bz2
Issue #10293: Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index 5736b44..a5c9115 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -759,7 +759,7 @@ class SizeofTest(unittest.TestCase):
check(int(PyLong_BASE**2-1), size(vh) + 2*self.longdigit)
check(int(PyLong_BASE**2), size(vh) + 3*self.longdigit)
# memory
- check(memoryview(b''), size(h + 'P PP2P2i7P'))
+ check(memoryview(b''), size(h + 'PP2P2i7P'))
# module
check(unittest, size(h + '3P'))
# None