MCPcopy Index your code
hub / github.com/RustPython/RustPython / _view

Method _view

Lib/test/test_memoryview.py:508–509  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

506
507class BaseMemoryviewTests:
508 def _view(self, obj):
509 return memoryview(obj)
510
511 def _check_contents(self, tp, obj, contents):
512 self.assertEqual(obj, tp(contents))

Callers 15

test_countMethod · 0.95
test_indexMethod · 0.45
test_iterMethod · 0.45
test_countMethod · 0.45
test_setitem_readonlyMethod · 0.45
test_setitem_writableMethod · 0.45
test_delitemMethod · 0.45
test_tobytesMethod · 0.45
test_tolistMethod · 0.45
test_compareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected