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
a8ccb274
Commit
a8ccb274
authored
Mar 13, 2013
by
Albertas Agejevas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More Py3 fixes.
parent
b05992e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+4
-3
No files found.
src/ZEO/tests/testZEO.py
View file @
a8ccb274
...
@@ -1232,7 +1232,7 @@ def client_asyncore_thread_has_name():
...
@@ -1232,7 +1232,7 @@ def client_asyncore_thread_has_name():
def
runzeo_without_configfile
():
def
runzeo_without_configfile
():
"""
"""
>>> open('runzeo', 'w').write('''
>>>
r =
open('runzeo', 'w').write('''
... import sys
... import sys
... sys.path[:] = %r
... sys.path[:] = %r
... import ZEO.runzeo
... import ZEO.runzeo
...
@@ -1240,10 +1240,11 @@ def runzeo_without_configfile():
...
@@ -1240,10 +1240,11 @@ def runzeo_without_configfile():
... ''' % sys.path)
... ''' % sys.path)
>>> import subprocess, re
>>> import subprocess, re
>>> print(re.sub(
'
\
d
\
d+|[:]',
'', subprocess.Popen(
>>> print(re.sub(
b'
\
d
\
d+|[:]', b
'', subprocess.Popen(
... [sys.executable, 'runzeo', '-a:%s' % get_port(), '-ft', '--test'],
... [sys.executable, 'runzeo', '-a:%s' % get_port(), '-ft', '--test'],
... stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
... stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
... ).stdout.read())) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
... ).stdout.read()).decode('ascii'))
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
------
------
--T INFO ZEO.runzeo () opening storage '1' using FileStorage
--T INFO ZEO.runzeo () opening storage '1' using FileStorage
------
------
...
...
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