From b05913d1c3c02a773578bceb7285084d2933ae86 Mon Sep 17 00:00:00 2001 From: Aleksandr <ivansduck@gmail.com> Date: Thu, 10 Feb 2022 16:47:52 +0300 Subject: Restoring authorship annotation for Aleksandr <ivansduck@gmail.com>. Commit 2 of 2. --- library/python/testing/yatest_lib/test_splitter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'library/python/testing/yatest_lib/test_splitter.py') diff --git a/library/python/testing/yatest_lib/test_splitter.py b/library/python/testing/yatest_lib/test_splitter.py index bc7beba568..acbcd4300e 100644 --- a/library/python/testing/yatest_lib/test_splitter.py +++ b/library/python/testing/yatest_lib/test_splitter.py @@ -1,15 +1,15 @@ -# coding: utf-8 +# coding: utf-8 import collections -def flatten_tests(test_classes): +def flatten_tests(test_classes): """ >>> test_classes = {x: [x] for x in range(5)} - >>> flatten_tests(test_classes) + >>> flatten_tests(test_classes) [(0, 0), (1, 1), (2, 2), (3, 3), (4, 4)] >>> test_classes = {x: [x + 1, x + 2] for x in range(2)} - >>> flatten_tests(test_classes) + >>> flatten_tests(test_classes) [(0, 1), (0, 2), (1, 2), (1, 3)] """ tests = [] -- cgit v1.2.3