Spurious unicode diffs with -v #2322
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: bug
problem that needs to be addressed
Hi everyone,
I recently noticed spurious diffs about unicode when increasing the verbosity. Here's what I mean:
when run with
$ py.test test_foo.py
results in:but, when run with
$ py.test -v test_foo.py
results in:(note the spurious extra diff on the
u
).Is there something I can do about this? This example is "nice", in the sense that the dictionaries that I am typically comparing have tens of keys, so using
-v
or even-vv
is necessary for me, but I would like to avoid the noise of the extra diffs on theu
s.This is happening to me with
pytest==3.0.7
on Mac OS X, while a colleague reports it happening on Linux as well.pip list
is from an empty virtual env after I've runpip install pytest
, where I already see this problem:The text was updated successfully, but these errors were encountered: