Commit 67388dcd authored by Jim Fulton's avatar Jim Fulton

Deal with some Py2/Py3 differences :(

parent ed365135
...@@ -320,12 +320,12 @@ transaction:: ...@@ -320,12 +320,12 @@ transaction::
savepoint.rollback() savepoint.rollback()
with db.transaction() as conn: with db.transaction() as conn:
print(conn.root.x, conn.root.y) # prints 1 0 print([conn.root.x, conn.root.y]) # prints 1 0
.. -> src .. -> src
>>> exec(src) >>> exec(src)
1 0 [1, 0]
If we executed this code, it would print 1 and 0, because while the If we executed this code, it would print 1 and 0, because while the
initial changes were committed, the changes in the savepoint were initial changes were committed, the changes in the savepoint were
......
...@@ -40,7 +40,9 @@ def test_suite(): ...@@ -40,7 +40,9 @@ def test_suite():
return unittest.TestSuite(( return unittest.TestSuite((
manuel.testing.TestSuite( manuel.testing.TestSuite(
manuel.doctest.Manuel() + manuel.capture.Manuel(), manuel.doctest.Manuel(
optionflags=doctest.IGNORE_EXCEPTION_DETAIL,
) + manuel.capture.Manuel(),
join(guide, 'writing-persistent-objects.rst'), join(guide, 'writing-persistent-objects.rst'),
join(guide, 'install-and-run.rst'), join(guide, 'install-and-run.rst'),
join(guide, 'transactions-and-threading.rst'), join(guide, 'transactions-and-threading.rst'),
......
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