MCPcopy Index your code
hub / github.com/python/mypy / test_basics

Method test_basics

mypyc/test/test_rarray.py:18–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17class TestRArray(unittest.TestCase):
18 def test_basics(self) -> None:
19 a = RArray(int_rprimitive, 10)
20 assert a.item_type == int_rprimitive
21 assert a.length == 10
22
23 def test_str_conversion(self) -> None:
24 a = RArray(int_rprimitive, 10)

Callers

nothing calls this directly

Calls 1

RArrayClass · 0.90

Tested by

no test coverage detected