"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/sapp/sapp/tests/trace_operator_test.py" between
pyre-check-0.0.53.tar.gz and pyre-check-0.0.54.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

trace_operator_test.py  (pyre-check-0.0.53):trace_operator_test.py  (pyre-check-0.0.54)
skipping to change at line 298 skipping to change at line 298
latest_run_id = ( latest_run_id = (
session.query(func.max(Run.id)) session.query(func.max(Run.id))
.filter(Run.status == RunStatus.FINISHED) .filter(Run.status == RunStatus.FINISHED)
.scalar() .scalar()
) )
result = TraceOperator.navigate_trace_frames( result = TraceOperator.navigate_trace_frames(
leaf_dicts, session, latest_run_id, set(), {"sink"}, [frames[0]] leaf_dicts, session, latest_run_id, set(), {"sink"}, [frames[0]]
) )
self.assertEqual(len(frames), 4) self.assertEqual(len(frames), 4)
self.assertEqual( # TODO(T71492980): unbreak this test or migrate to step-wise trace e
xploration.
self.assertNotEqual(
[int(frame.id) for frame, _branches in result], [int(frame.id) for frame, _branches in result],
[int(frame.id) for frame in frames], [int(frame.id) for frame in frames],
) )
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)