Message224070
See for example test_generators, test_genexps, test_xml_etree or
ctypes.test.test_objects.
>>> dict(a = (i for i in xrange(10))) #doctest: +ELLIPSIS
{'a': <generator object <genexpr> at ...>}
>>> repr(element) # doctest: +ELLIPSIS
"<Element 't\\xe4g' at 0x...>"
But unit tests can be broken too. When I enhanced reprs this week (issue22031,
issue22032), I needed to correct failed tests. Due to this facts I applied
patches only to 3.5. |
|
Date |
User |
Action |
Args |
2014-07-26 15:47:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, vstinner, alex |
2014-07-26 15:47:29 | serhiy.storchaka | link | issue22081 messages |
2014-07-26 15:47:29 | serhiy.storchaka | create | |
|