Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ C
Class
C
Lib/test/test_zstd.py:1779–1781 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1777
1778
# 3, no .fileno() method
1779
class
C:
1780
def
read(self, size=-1):
1781
return
b
'123'
1782
with
ZstdFile(C(),
'rb'
)
as
f:
1783
with
self.assertRaisesRegex(AttributeError, r
'fileno'
):
1784
f.fileno()
Callers
5
test_fileno
Method · 0.70
test_name
Method · 0.70
test_read_exception
Method · 0.70
test_seek_not_seekable
Method · 0.70
test_zstdfile_flush
Method · 0.70
Calls
no outgoing calls
Tested by
5
test_fileno
Method · 0.56
test_name
Method · 0.56
test_read_exception
Method · 0.56
test_seek_not_seekable
Method · 0.56
test_zstdfile_flush
Method · 0.56