Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
55de25f7
Commit
55de25f7
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
dae7def0
Changes
1
Show 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 @
55de25f7
...
@@ -30,10 +30,8 @@ class TestThread(threading.Thread):
...
@@ -30,10 +30,8 @@ class TestThread(threading.Thread):
method.
method.
"""
"""
def
__init__
(
self
,
test
):
def
__init__
(
self
):
threading
.
Thread
.
__init__
(
self
)
threading
.
Thread
.
__init__
(
self
)
self
.
test
=
test
self
.
_fail
=
None
self
.
_exc_info
=
None
self
.
_exc_info
=
None
def
run
(
self
):
def
run
(
self
):
...
@@ -42,9 +40,6 @@ class TestThread(threading.Thread):
...
@@ -42,9 +40,6 @@ class TestThread(threading.Thread):
except
:
except
:
self
.
_exc_info
=
sys
.
exc_info
()
self
.
_exc_info
=
sys
.
exc_info
()
def
fail
(
self
,
msg
=
""
):
self
.
_test
.
fail
(
msg
)
def
join
(
self
,
timeout
=
None
):
def
join
(
self
,
timeout
=
None
):
threading
.
Thread
.
join
(
self
,
timeout
)
threading
.
Thread
.
join
(
self
,
timeout
)
if
self
.
_exc_info
:
if
self
.
_exc_info
:
...
@@ -55,7 +50,7 @@ class ZODBClientThread(TestThread):
...
@@ -55,7 +50,7 @@ class ZODBClientThread(TestThread):
__super_init
=
TestThread
.
__init__
__super_init
=
TestThread
.
__init__
def
__init__
(
self
,
db
,
test
,
commits
=
10
,
delay
=
SHORT_DELAY
):
def
__init__
(
self
,
db
,
test
,
commits
=
10
,
delay
=
SHORT_DELAY
):
self
.
__super_init
(
test
)
self
.
__super_init
()
self
.
setDaemon
(
1
)
self
.
setDaemon
(
1
)
self
.
db
=
db
self
.
db
=
db
self
.
test
=
test
self
.
test
=
test
...
@@ -102,7 +97,7 @@ class StorageClientThread(TestThread):
...
@@ -102,7 +97,7 @@ class StorageClientThread(TestThread):
__super_init
=
TestThread
.
__init__
__super_init
=
TestThread
.
__init__
def
__init__
(
self
,
storage
,
test
,
commits
=
10
,
delay
=
SHORT_DELAY
):
def
__init__
(
self
,
storage
,
test
,
commits
=
10
,
delay
=
SHORT_DELAY
):
self
.
__super_init
(
test
)
self
.
__super_init
()
self
.
storage
=
storage
self
.
storage
=
storage
self
.
test
=
test
self
.
test
=
test
self
.
commits
=
commits
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