Skip to content

Commit 019f270

Browse files
committed
Set __test__ = False in not tested classes
1 parent 0aba3e7 commit 019f270

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/test_remote.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
class TestRemoteProgress(RemoteProgress):
4545
__slots__ = ("_seen_lines", "_stages_per_op", "_num_progress_messages")
4646

47-
def __init__(self):
47+
def __init__(self) -> None:
4848
super().__init__()
4949
self._seen_lines = []
5050
self._stages_per_op = {}
@@ -103,6 +103,9 @@ def assert_received_message(self):
103103
assert self._num_progress_messages
104104

105105

106+
TestRemoteProgress.__test__ = False # type: ignore
107+
108+
106109
class TestRemote(TestBase):
107110
def tearDown(self):
108111
gc.collect()

test/test_submodule.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def update(self, op, cur_count, max_count, message=""):
5858
print(op, cur_count, max_count, message)
5959

6060

61+
TestRootProgress.__test__ = False
6162
prog = TestRootProgress()
6263

6364

0 commit comments

Comments
 (0)