AssertionError not showing diff for file test.py #8769
-
In creating conda environments on a new machine, I have one project where
does not show the diff output. The diff works fine an another copy of the environment.
pytest 5.4.1, Win10, whereby, as I said I have another Win10 machine with pytest 5.4.1 where this all works fine, so I assume this is a subtle problem somewhere else.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
In which file is the code? Can you show the full output? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
does anything change if you name your file |
Beta Was this translation helpful? Give feedback.
-
Yup. That fixed it. The weird thing is that in the old environment with the same versions, it all worked fine as just Thanks for the help. |
Beta Was this translation helpful? Give feedback.
-
Thanks folks. Took the liberty of moving this to Discussions and adding |
Beta Was this translation helpful? Give feedback.
does anything change if you name your file
test_something.py
? What about-p no:arraydiff
? Finally, please test with a newer pytest version - 5.4.1 is over a year old and not supported anymore.