Commit 18e7f0c4 authored by Tres Seaver's avatar Tres Seaver

Avoid overwrapping due to 'pprint' changes in Python 3.4.

parent ef7d9fd2
......@@ -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,
......
......@@ -337,7 +337,7 @@ release the lock and one of the waiting clients will get the lock.
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,
......
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