Skip to content

Commit a3e6004

Browse files
committed
cleanups
1 parent d00f2b7 commit a3e6004

File tree

2 files changed

+243
-251
lines changed

2 files changed

+243
-251
lines changed

Lib/test/test_array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,14 +1172,14 @@ def test_create_from_bytes(self):
11721172
@support.cpython_only
11731173
def test_sizeof_with_buffer(self):
11741174
a = array.array(self.typecode, self.example)
1175-
basesize = support.calcvobjsize('Pn2Pi')
1175+
basesize = support.calcvobjsize('PnPi')
11761176
buffer_size = a.buffer_info()[1] * a.itemsize
11771177
support.check_sizeof(self, a, basesize + buffer_size)
11781178

11791179
@support.cpython_only
11801180
def test_sizeof_without_buffer(self):
11811181
a = array.array(self.typecode)
1182-
basesize = support.calcvobjsize('Pn2Pi')
1182+
basesize = support.calcvobjsize('PnPi')
11831183
support.check_sizeof(self, a, basesize)
11841184

11851185
def test_initialize_with_unicode(self):

0 commit comments

Comments
 (0)