Commit 0c504dcd authored by Jim Fulton's avatar Jim Fulton

Implementing context managers with modules no longer works in Python

2.7. :(
parent 9a580027
...@@ -395,7 +395,7 @@ def test_transaction_retry_convenience(): ...@@ -395,7 +395,7 @@ def test_transaction_retry_convenience():
>>> dm = conn.root() >>> dm = conn.root()
>>> ntry = 0 >>> ntry = 0
>>> with transaction: >>> with transaction.manager:
... dm['ntry'] = 0 ... dm['ntry'] = 0
>>> import ZODB.POSException >>> import ZODB.POSException
......
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