Skip to content

Commit c7a5b96

Browse files
CPython developersyouknowone
authored andcommitted
Update test_memoryview from CPython 3.10.5
1 parent 36f5134 commit c7a5b96

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/test/test_memoryview.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66

77
import unittest
88
import test.support
9-
from test.support import import_helper
109
import sys
11-
# import gc # XXX: RUSTPYTHON
10+
import gc
1211
import weakref
1312
import array
1413
import io
1514
import copy
1615
import pickle
1716

17+
from test.support import import_helper
18+
1819

1920
class AbstractMemoryTests:
2021
source_bytes = b"abcdef"
@@ -418,9 +419,11 @@ class BaseArrayMemoryTests(AbstractMemoryTests):
418419
itemsize = array.array('i').itemsize
419420
format = 'i'
420421

422+
@unittest.skip('XXX test should be adapted for non-byte buffers')
421423
def test_getbuffer(self):
422424
pass
423425

426+
@unittest.skip('XXX NotImplementedError: tolist() only supports byte views')
424427
def test_tolist(self):
425428
pass
426429

0 commit comments

Comments
 (0)