5 ms·
(I'm the author of precisely) Better error messages was the motivation: PyHamcrest tends to put everything onto one line, which makes it hard to discern struct
by mwilliamson 6y ago
(I'm the author of precisely)
Better error messages was the motivation: PyHamcrest tends to put everything onto one line, which makes it hard to discern structure. In contrast, precisely tries to produce an error message that uses line breaks and indentation to match the structure of the matcher, hopefully making it clear exactly which part of the matcher has failed.
- neolog 6y agoThat sounds like a feature PyHamcrest could add. Did you try adding it there?