mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-22406: Report unittest as subtests
* Some issues are still missed (see my comments in issue) * EnvTagsRequired now can be applied to method
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from unittest import TestCase
|
||||
|
||||
|
||||
class SpamTest(TestCase):
|
||||
def test_test(self):
|
||||
for i in range(0, 10):
|
||||
with self.subTest(i=i):
|
||||
print(1)
|
||||
self.assertTrue(i % 2)
|
||||
Reference in New Issue
Block a user