Message306311
Would there be an interest and possibility to add an option to the doctest module to compare values instead of reprs? The idea is that the expected value would be eval'ed prior to comparison if this option was enabled.
Motivation for this option is to enable comparison of values (states) as defined in the respective classes and not by a representation which might vary ({'a', 'b'} vs {'b', 'a'}, 'value' vs "value" etc.). |
|
Date |
User |
Action |
Args |
2017-11-15 21:39:32 | Tomáš Petříček | set | recipients:
+ Tomáš Petříček |
2017-11-15 21:39:32 | Tomáš Petříček | set | messageid: <1510781972.21.0.213398074469.issue32042@psf.upfronthosting.co.za> |
2017-11-15 21:39:32 | Tomáš Petříček | link | issue32042 messages |
2017-11-15 21:39:32 | Tomáš Petříček | create | |
|