Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit019f270

Browse files
committed
Set __test__ = False in not tested classes
1 parent0aba3e7 commit019f270

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
classTestRemoteProgress(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
assertself._num_progress_messages
104104

105105

106+
TestRemoteProgress.__test__=False# type: ignore
107+
108+
106109
classTestRemote(TestBase):
107110
deftearDown(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)

[8]ページ先頭

©2009-2025 Movatter.jp