From b90673471b7a01d0b54dc8b5350d7341df5764bc Mon Sep 17 00:00:00 2001
From: shadchin <shadchin@yandex-team.com>
Date: Sat, 26 Aug 2023 16:23:24 +0300
Subject: Remove unused code

---
 library/python/pytest/yatest_tools.py | 57 -----------------------------------
 1 file changed, 57 deletions(-)

(limited to 'library/python/pytest')

diff --git a/library/python/pytest/yatest_tools.py b/library/python/pytest/yatest_tools.py
index eb4818d2f7..1f3b6da655 100644
--- a/library/python/pytest/yatest_tools.py
+++ b/library/python/pytest/yatest_tools.py
@@ -15,59 +15,6 @@ SEP = '/'
 TEST_MOD_PREFIX = '__tests__.'
 
 
-class Subtest(object):
-    def __init__(
-        self,
-        name,
-        test_name,
-        status,
-        comment,
-        elapsed,
-        result=None,
-        test_type=None,
-        logs=None,
-        cwd=None,
-        metrics=None,
-    ):
-        self._name = name
-        self._test_name = test_name
-        self.status = status
-        self.elapsed = elapsed
-        self.comment = comment
-        self.result = result
-        self.test_type = test_type
-        self.logs = logs or {}
-        self.cwd = cwd
-        self.metrics = metrics
-
-    def __eq__(self, other):
-        if not isinstance(other, Subtest):
-            return False
-        return self.name == other.name and self.test_name == other.test_name
-
-    def __str__(self):
-        return yatest_lib.tools.to_utf8(unicode(self))
-
-    def __unicode__(self):
-        return u"{}::{}".format(self.test_name, self.test_name)
-
-    @property
-    def name(self):
-        return yatest_lib.tools.to_utf8(self._name)
-
-    @property
-    def test_name(self):
-        return yatest_lib.tools.to_utf8(self._test_name)
-
-    def __repr__(self):
-        return "Subtest [{}::{} - {}[{}]: {}]".format(
-            self.name, self.test_name, self.status, self.elapsed, self.comment
-        )
-
-    def __hash__(self):
-        return hash(str(self))
-
-
 class SubtestInfo(object):
     skipped_prefix = '[SKIPPED] '
 
@@ -167,10 +114,6 @@ class Test(object):
         return [x.status for x in self.subtests].count(status)
 
 
-class NoMd5FileException(Exception):
-    pass
-
-
 TEST_SUBTEST_SEPARATOR = '::'
 
 
-- 
cgit v1.2.3