Commit 9442becb authored by Marius Gedminas's avatar Marius Gedminas

Fix test failure under Python 3

In Python 3 r.write() returns the number of characters written.
parent 5bbe189c
...@@ -1234,7 +1234,7 @@ def client_asyncore_thread_has_name(): ...@@ -1234,7 +1234,7 @@ def client_asyncore_thread_has_name():
def runzeo_without_configfile(): def runzeo_without_configfile():
""" """
>>> with open('runzeo', 'w') as r: >>> with open('runzeo', 'w') as r:
... r.write(''' ... _ = r.write('''
... import sys ... import sys
... sys.path[:] = %r ... sys.path[:] = %r
... import ZEO.runzeo ... import ZEO.runzeo
......
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