Commit 5fe64971 authored by Jim Fulton's avatar Jim Fulton

run test in subprocess because uvloop

parent 06e51c73
...@@ -1470,7 +1470,7 @@ if os.environ.get('ZEO_MSGPACK'): ...@@ -1470,7 +1470,7 @@ if os.environ.get('ZEO_MSGPACK'):
""" """
>>> import ZEO >>> import ZEO
>>> a, s = ZEO.server() >>> a, s = ZEO.server(threaded=False)
>>> conn = ZEO.connection(a) >>> conn = ZEO.connection(a)
>>> str(conn.db().storage.protocol_version.decode('ascii')) >>> str(conn.db().storage.protocol_version.decode('ascii'))
'M5' 'M5'
...@@ -1481,13 +1481,13 @@ else: ...@@ -1481,13 +1481,13 @@ else:
""" """
>>> import ZEO >>> import ZEO
>>> a, s = ZEO.server() >>> a, s = ZEO.server(threaded=False)
>>> conn = ZEO.connection(a) >>> conn = ZEO.connection(a)
>>> str(conn.db().storage.protocol_version.decode('ascii')) >>> str(conn.db().storage.protocol_version.decode('ascii'))
'Z5' 'Z5'
>>> conn.close(); s() >>> conn.close(); s()
>>> a, s = ZEO.server(zeo_conf=dict(msgpack=True)) >>> a, s = ZEO.server(zeo_conf=dict(msgpack=True), threaded=False)
>>> conn = ZEO.connection(a) >>> conn = ZEO.connection(a)
>>> str(conn.db().storage.protocol_version.decode('ascii')) >>> str(conn.db().storage.protocol_version.decode('ascii'))
'M5' 'M5'
......
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