representation.py
2.91 KB
-
Fix `smart_repr()` to also clean upper-case hex addresses. · 47c9bb14
Windows Pythons seem to like printing addresses in upper-case, while Linux Pythons like lower-case hexes. This led to an amusing (for a given value of "amusing", anyway) situation where some repr tests would fail if the objects they were testing happened to be allocated at an address with a hex digit in the range A..F.
Aarni Koskela committed