Commit 6575c06c authored by Jim Fulton's avatar Jim Fulton

Implementing context managers with modules no longer works in Python

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