diff --git a/src/compas/rpc/__init__.py b/src/compas/rpc/__init__.py index 5fb7058af67..c34107367d5 100644 --- a/src/compas/rpc/__init__.py +++ b/src/compas/rpc/__init__.py @@ -2,10 +2,11 @@ COMPAS runs in many different environments, but in some environments the availablity of libraries is limited. For example, when running COMPAS in an IronPython-based environment like Rhino/Grasshopper, plenty of CPython libraries such as `numpy` and `scipy` are not available. -To workaround this limitation, COMPAS provides a mechanisms to access the functionality of a CPython environment seemlessly from any other Python environment through a "Remote Procedure Call" or RPC. +To workaround this limitation, COMPAS provides a mechanisms to access the functionality of a CPython environment +seemlessly from any other Python environment through a "Remote Procedure Call" or RPC. Through RPC, COMPAS can be used as a server for remote clients, and as a client for remote servers. -A typical use case is to run algorithms that require packages like ``numpy`` or ``scipy`` on a remote server, when working in Rhino. -Or to use COMPAS in a browser application. +A typical use case is to run algorithms that require packages like ``numpy`` or ``scipy`` on a remote server, +when working in Rhino. Or to use COMPAS in a browser application. """ from __future__ import absolute_import diff --git a/tests/compas/test_iotools.py b/tests/compas/test_iotools.py index 59a03962074..2154559add3 100644 --- a/tests/compas/test_iotools.py +++ b/tests/compas/test_iotools.py @@ -56,7 +56,7 @@ def test_open_file_object_text(path_text): def test_open_file_memory_stream(): - text = b"All Gaul is divided into three parts, one of which the Belgae inhabit, the Aquitani another, those who in their own language are called Celts, in our Gauls, the third." + text = b"All Gaul is divided into three parts, one of which the Belgae inhabit, the Aquitani another, those who in their own language are called Celts, in our Gauls, the third." # noqa: E501 data = io.BytesIO(text) with _iotools.open_file(data, mode="rb") as f: assert f.read() == text