[opensuse-python] How to make Pytest error more verbose? (python-cirq)
Hello, I have been trying to package python-cirq. https://build.opensuse.org/package/show/home:andythe_great/python-cirq However, I am suffering from bash_scripts_test.py AssertionError, which I ask Cirq dev about it. https://github.com/quantumlib/Cirq/issues/3154 However, Cirq dev cannot reproduce the error, so I want Pytest to show more info about why error occurred, is that possible? Kind regards, Andy -- To unsubscribe, e-mail: opensuse-python+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-python+owner@opensuse.org
andythe_great píše v So 26. 09. 2020 v 15:47 +0000:
However, Cirq dev cannot reproduce the error, so I want Pytest to show more info about why error occurred, is that possible?
Could you reproduce in osc shell environment? Then you can use pytest --pdb and similar and analyse the problem to your heart's content. Best, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mcepl@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 The American Republic will endure, until politicians realize they can bribe the people with their own money. -- based on a statement of Alexander Fraser Tytler
participants (2)
-
andythe_great
-
Matěj Cepl