Skip to content

Commit 709d8fd

Browse files
committed
Correct cannot collect test class warnings
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
1 parent 96febab commit 709d8fd

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

dataprofiler/tests/profilers/test_histogram_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ def mock_sqrt_return_nan(profile):
3333

3434

3535
class TestColumn(NumericStatsMixin):
36+
__test__ = False
37+
3638
def __init__(self):
3739
NumericStatsMixin.__init__(self)
3840
self.times = defaultdict(float)

dataprofiler/tests/profilers/test_numeric_stats_mixin_profile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020

2121
class TestColumn(NumericStatsMixin):
22+
__test__ = False
23+
2224
def __init__(self):
2325
NumericStatsMixin.__init__(self)
2426
self.match_count = 0
@@ -32,6 +34,7 @@ def _filter_properties_w_options(self, calculations, options):
3234

3335

3436
class TestColumnWProps(TestColumn):
37+
__test__ = False
3538
# overrides the property func
3639
median = None
3740
mode = None

0 commit comments

Comments
 (0)