summaryrefslogtreecommitdiff
path: root/tests/internal_bench/class_create-4-classmethod.py
blob: f34962bc67117217344644018d572876b50b0245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import bench


def test(num):
    for i in range(num // 40):

        class X:
            @classmethod
            def x(cls):
                pass


bench.run(test)