MCPcopy Index your code
hub / github.com/Persper/code-analytics / test_save

Function test_save

test/test_graphs/test_analyzer.py:132–139  ·  view source on GitHub ↗
(az)

Source from the content-addressed store, hash-verified

130
131
132def test_save(az):
133 az.analyze(from_beginning=True, into_branches=True)
134 filename = "test_save_g.pickle"
135 az.save(filename)
136 with open(filename, 'rb') as f:
137 az1 = pickle.load(f)
138 os.remove(filename)
139 assert_analyzer_equal(az, az1)

Callers

nothing calls this directly

Calls 3

assert_analyzer_equalFunction · 0.85
analyzeMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected