MCPcopy Create free account
hub / github.com/protomaps/PMTiles / Output

Class Output

python/rio-pmtiles/tests/test_cli.py:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16from conftest import mock
17
18class Output:
19 def __init__(self, fname):
20 self.file = open(fname, 'rb')
21
22 def __enter__(self):
23 return Reader(MmapSource(self.file))
24
25 def __exit__(self, exc_type, exc_val, exc_tb):
26 self.file.close()
27
28def test_cli_help():
29 runner = CliRunner()

Callers 3

test_export_metadataFunction · 0.85
test_rgba_pngFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_export_metadataFunction · 0.68
test_rgba_pngFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…