HomeSoftware Heritage

tests: Hide utilities from stack traces

Description

tests: Hide utilities from stack traces

They clutter the test output because pytest prints the whole code
of the function raising the assertionerror.

With this magic variable, the error is shown as if it was raised
directly in the caller's body.

Details

Provenance
vlorentzAuthored on Nov 4 2021, 5:53 PM
vlorentzPushed on Nov 10 2021, 2:20 PM
Parents
rDLDBASE551c55ff0477: package loaders: Make test failures more helpful
Branches
Unknown
Tags
Unknown
Build Status
Buildable 24991
Build 39053: test-and-buildJenkins console · Jenkins