Quantco / datajudge

Assessing whether data from database complies with reference information.
https://datajudge.readthedocs.io
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

Refactor some assertion message to make use of colored output #164

Open YYYasin19 opened 1 year ago

YYYasin19 commented 1 year ago

cf. PR #89 This includes calling the function diff_color

factual_fmt, target_fmt = diff_color(factual, target)

and then printing the _fmt variables instead of the original numbers.