Closed djc closed 6 years ago
Can we add a small test for these?
Like that? (Rebased a bit to fix a bug in the initial commit.)
@alex would you mind pronouncing on this? I've been doing work on one of my rply-based projects again and this PR still made it easier to pinpoint lexer errors in particular.
These should probably be __repr__
, instead of __str__
. But otherwise LGTM.
Should be all good now.
This helps diagnosing errors.