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

Method test_disallow_instantiation

Lib/test/test_csv.py:1658–1662  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1656
1657 @support.cpython_only
1658 def test_disallow_instantiation(self):
1659 _csv = import_helper.import_module("_csv")
1660 for tp in _csv.Reader, _csv.Writer:
1661 with self.subTest(tp=tp):
1662 check_disallow_instantiation(self, tp)
1663
1664if __name__ == '__main__':
1665 unittest.main()

Callers

nothing calls this directly

Calls 3

subTestMethod · 0.80
import_moduleMethod · 0.45

Tested by

no test coverage detected