Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
adf443be
Commit
adf443be
authored
Jan 09, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed decoys (unused method and instance vars) from class TestThread.
parent
4d8ca6fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
src/ZODB/tests/MTStorage.py
src/ZODB/tests/MTStorage.py
+3
-8
No files found.
src/ZODB/tests/MTStorage.py
View file @
adf443be
...
...
@@ -30,10 +30,8 @@ class TestThread(threading.Thread):
method.
"""
def
__init__
(
self
,
test
):
def
__init__
(
self
):
threading
.
Thread
.
__init__
(
self
)
self
.
test
=
test
self
.
_fail
=
None
self
.
_exc_info
=
None
def
run
(
self
):
...
...
@@ -42,9 +40,6 @@ class TestThread(threading.Thread):
except
:
self
.
_exc_info
=
sys
.
exc_info
()
def
fail
(
self
,
msg
=
""
):
self
.
_test
.
fail
(
msg
)
def
join
(
self
,
timeout
=
None
):
threading
.
Thread
.
join
(
self
,
timeout
)
if
self
.
_exc_info
:
...
...
@@ -55,7 +50,7 @@ class ZODBClientThread(TestThread):
__super_init
=
TestThread
.
__init__
def
__init__
(
self
,
db
,
test
,
commits
=
10
,
delay
=
SHORT_DELAY
):
self
.
__super_init
(
test
)
self
.
__super_init
()
self
.
setDaemon
(
1
)
self
.
db
=
db
self
.
test
=
test
...
...
@@ -102,7 +97,7 @@ class StorageClientThread(TestThread):
__super_init
=
TestThread
.
__init__
def
__init__
(
self
,
storage
,
test
,
commits
=
10
,
delay
=
SHORT_DELAY
):
self
.
__super_init
(
test
)
self
.
__super_init
()
self
.
storage
=
storage
self
.
test
=
test
self
.
commits
=
commits
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment