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
fad58f34
Commit
fad58f34
authored
May 18, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add future import so tests using with will work w Python 2.5.
(Also use standard doctest.)
parent
077c0eaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/ZODB/tests/testConnection.py
src/ZODB/tests/testConnection.py
+3
-2
No files found.
src/ZODB/tests/testConnection.py
View file @
fad58f34
...
@@ -13,7 +13,9 @@
...
@@ -13,7 +13,9 @@
##############################################################################
##############################################################################
"""Unit tests for the Connection class."""
"""Unit tests for the Connection class."""
from
zope.testing
import
doctest
from
__future__
import
with_statement
import
doctest
import
unittest
import
unittest
import
warnings
import
warnings
...
@@ -382,7 +384,6 @@ class UserMethodTests(unittest.TestCase):
...
@@ -382,7 +384,6 @@ class UserMethodTests(unittest.TestCase):
def
test_transaction_retry_convenience
():
def
test_transaction_retry_convenience
():
"""
"""
Simple test to verify integration with the transaction retry
Simple test to verify integration with the transaction retry
helper my verifying that we can raise ConflictError and have it
helper my verifying that we can raise ConflictError and have it
handled properly.
handled properly.
...
...
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