MCPcopy Create free account
hub / github.com/Persper/code-analytics / test_save

Function test_save

test/test_graphs/test_callcommitgraph.py:119–125  ·  view source on GitHub ↗
(g)

Source from the content-addressed store, hash-verified

117
118
119def test_save(g):
120 fname = "test_save_g.pickle"
121 g.save(fname)
122 with open(fname, 'rb') as f:
123 gp = pickle.load(f)
124 os.remove(fname)
125 assert_callcommitgraphs_equal(g, gp)

Callers

nothing calls this directly

Calls 2

saveMethod · 0.45

Tested by

no test coverage detected