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
When using pytest-subtests and pytest-sugar, the actual subtest name is not reported in the results.
example:
import unittest
class T(unittest.TestCase):
def test_foo(self):
for i in range(5):
with self.subTest("custom message", i=i):
self.assertEqual(i % 2, 0)
if __name__ == "__main__":
unittest.main()
When using pytest-subtests and pytest-sugar, the actual subtest name is not reported in the results.
example:
output
Expected output
The text was updated successfully, but these errors were encountered: