Skip to content

Commit

Permalink
Avoid overwrapping due to 'pprint' changes in Python 3.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Dec 27, 2014
1 parent ef7d9fd commit 18e7f0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ZEO/tests/testZEO.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ def test_server_status():
>>> addr, _ = start_server(zeo_conf=dict(transaction_timeout=1))
>>> db = ZEO.DB(addr)
>>> import pprint
>>> pprint.pprint(db.storage.server_status(), width=1)
>>> pprint.pprint(db.storage.server_status(), width=40)
{'aborts': 0,
'active_txns': 0,
'commits': 1,
Expand Down
2 changes: 1 addition & 1 deletion src/ZEO/tests/testZEO2.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def some_basic_locking_tests():
We can find out about the current lock state, and get other server
statistics using the server_status method:
>>> pprint.pprint(zs1.server_status(), width=1)
>>> pprint.pprint(zs1.server_status(), width=40)
{'aborts': 3,
'active_txns': 10,
'commits': 0,
Expand Down

0 comments on commit 18e7f0c

Please sign in to comment.