Commit fad58f34 authored by Jim Fulton's avatar Jim Fulton

Add future import so tests using with will work w Python 2.5.

(Also use standard doctest.)
parent 077c0eaa
......@@ -13,7 +13,9 @@
##############################################################################
"""Unit tests for the Connection class."""
from zope.testing import doctest
from __future__ import with_statement
import doctest
import unittest
import warnings
......@@ -382,7 +384,6 @@ class UserMethodTests(unittest.TestCase):
def test_transaction_retry_convenience():
"""
Simple test to verify integration with the transaction retry
helper my verifying that we can raise ConflictError and have it
handled properly.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment