You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_dirs and test_helpers fail on Windows 7 because user_data_dir returns a unicode string.
BTW, @mcepl, the default error reporting verbosity is insufficient. I am not familiar with unittest and used to py.test's default verbose error reporting, how does one increase the verbosity of error reporting to obtain the details of the returned values which were tested?
I had to manually call the function myself in a console to get its type. Py.test does that for you automatically.
(Probably my question isn't clear, I'll provide an this evening an example output to get the gist of it.)
The text was updated successfully, but these errors were encountered:
If using normal self.assertEqual method you should get FOR FAILED TESTS both returned values and diff between observed and expected values. Otherwise, verbosity is controlled by the verbosity argument (so I have set up in setup.pyverbosity=2). If you don’t use setup.py you can use on command line -vvv argument (e.g., python3 -munittest discover -vvv).
test_dirs and test_helpers fail on Windows 7 because user_data_dir returns a unicode string.
BTW, @mcepl, the default error reporting verbosity is insufficient. I am not familiar with unittest and used to py.test's default verbose error reporting, how does one increase the verbosity of error reporting to obtain the details of the returned values which were tested?
I had to manually call the function myself in a console to get its type. Py.test does that for you automatically.
(Probably my question isn't clear, I'll provide an this evening an example output to get the gist of it.)
The text was updated successfully, but these errors were encountered: