August 2018
Beginner
160 pages
4h 8m
English
Pytest will show a complete traceback of a failing test, as expected from a testing framework. However, by default, it doesn't show the standard traceback that most Python programmers are used to; it shows a different traceback:
============================= FAILURES ==============================_______________________ test_read_properties ________________________ def test_read_properties(): lines = DATA.strip().splitlines()> grids = list(iter_grids_from_csv(lines))tests\test_read_properties.py:32:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _tests\test_read_properties.py:27: in iter_grids_from_csv yield parse_grid_data(fields)tests\test_read_properties.py:21: in parse_grid_data ...
Read now
Unlock full access