Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SecurityInnovation/PGPy
/ _read
Function
_read
tests/test_10_exceptions.py:28–30 ·
view source on GitHub ↗
(f, mode='r')
Source
from the content-addressed store, hash-verified
26
27
28
def
_read(f, mode=
'r'
):
29
with
open(f, mode)
as
ff:
30
return
ff.read()
31
32
33
@pytest.fixture(scope=
'module'
)
Callers
7
test_verify_wrongkey
Method · 0.85
test_parse_wrong_magic
Method · 0.85
test_parse_wrong_crc24
Method · 0.85
TestPGPKeyring
Class · 0.85
test_parse_wrong_magic
Method · 0.85
test_parse_wrong_magic
Method · 0.85
test_parse_wrong_contents
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…