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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
4895e57d
Commit
4895e57d
authored
May 10, 2013
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove guard against Python 2.5.
parent
4a3ffb9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
39 deletions
+34
-39
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+34
-39
No files found.
src/ZEO/tests/testZEO.py
View file @
4895e57d
...
...
@@ -13,6 +13,7 @@
##############################################################################
"""Test suite for ZEO based on ZODB.tests."""
from
__future__
import
print_function
import
multiprocessing
import
re
from
ZEO.ClientStorage
import
ClientStorage
...
...
@@ -1562,15 +1563,12 @@ if sys.platform.startswith('win'):
del
runzeo_logrotate_on_sigusr2
del
unix_domain_sockets
if
sys
.
version_info
>=
(
2
,
6
):
import
multiprocessing
def
work_with_multiprocessing_process
(
name
,
addr
,
q
):
def
work_with_multiprocessing_process
(
name
,
addr
,
q
):
conn
=
ZEO
.
connection
(
addr
)
q
.
put
((
name
,
conn
.
root
.
x
))
conn
.
close
()
class
MultiprocessingTests
(
unittest
.
TestCase
):
class
MultiprocessingTests
(
unittest
.
TestCase
):
layer
=
ZODB
.
tests
.
util
.
MininalTestLayer
(
'work_with_multiprocessing'
)
...
...
@@ -1601,9 +1599,6 @@ if sys.version_info >= (2, 6):
_
=
[
p
.
join
(
30
)
for
p
in
processes
]
conn
.
close
()
zope
.
testing
.
setupstack
.
tearDown
(
self
)
else
:
class
MultiprocessingTests
(
unittest
.
TestCase
):
pass
def
quick_close_doesnt_kill_server
():
r"""
...
...
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