MCPcopy Create free account
hub / github.com/RustPython/RustPython / MinimalRaw

Class MinimalRaw

extra_tests/snippets/stdlib_io.py:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45# Test that IOBase.isatty() raises ValueError when called on a closed file.
46# Minimal subclass that inherits IOBase.isatty() without overriding it.
47class MinimalRaw(RawIOBase):
48 def readinto(self, b):
49 return 0
50
51
52f = MinimalRaw()

Callers 1

stdlib_io.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected