From bf5b570a56b9c1648bc78129474674a094253ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Thu, 13 Jun 2024 10:47:08 -0400 Subject: [PATCH] Correct cannot collect test class warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gábor Lipták --- dataprofiler/tests/profilers/test_histogram_utils.py | 1 + .../tests/profilers/test_numeric_stats_mixin_profile.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/dataprofiler/tests/profilers/test_histogram_utils.py b/dataprofiler/tests/profilers/test_histogram_utils.py index 3be8cdcae..b8d500a36 100644 --- a/dataprofiler/tests/profilers/test_histogram_utils.py +++ b/dataprofiler/tests/profilers/test_histogram_utils.py @@ -33,6 +33,7 @@ def mock_sqrt_return_nan(profile): class TestColumn(NumericStatsMixin): + __test__ = False def __init__(self): NumericStatsMixin.__init__(self) self.times = defaultdict(float) diff --git a/dataprofiler/tests/profilers/test_numeric_stats_mixin_profile.py b/dataprofiler/tests/profilers/test_numeric_stats_mixin_profile.py index e112781ab..8daff1576 100644 --- a/dataprofiler/tests/profilers/test_numeric_stats_mixin_profile.py +++ b/dataprofiler/tests/profilers/test_numeric_stats_mixin_profile.py @@ -19,6 +19,7 @@ class TestColumn(NumericStatsMixin): + __test__ = False def __init__(self): NumericStatsMixin.__init__(self) self.match_count = 0 @@ -32,6 +33,7 @@ def _filter_properties_w_options(self, calculations, options): class TestColumnWProps(TestColumn): + __test__ = False # overrides the property func median = None mode = None