Debian Codegraph @

bench/unit_test.py

raw
1 from __future__ import annotations
2
3 from unittest import TestCase # noqa: F401
4
5
6 for i in range(15000):
7 exec(
8 f"""
9 class Test{i}(TestCase):
10 @classmethod
11 def setUpClass(cls): pass
12 def test_1(self): pass
13 def test_2(self): pass
14 def test_3(self): pass
15 """
16 )