Skip to content

Commit

Permalink
Fix a test (that we'll break later)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Nov 14, 2016
1 parent 844fd71 commit ed46567
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/guide/transactions-and-threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@ So, for example, if we wanted to set a transaction note::
.. -> src
>>> exec(src)
>>> db.history(conn.root()._p_oid)[0]['description']
'incrementing x again'
>>> (db.history(conn.root()._p_oid)[0]['description'] ==
... b'incrementing x again')
True
Here, we used the
:meth:`~transaction.interfaces.ITransactionManager.get` method to get
Expand Down

0 comments on commit ed46567

Please sign in to comment.