summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2022-05-19 21:25:25 -0400
committerJordan Wiens <jordan@psifertex.com>2022-05-19 21:29:07 -0400
commite1bf9c05f9f6a3b0c3cf676a26097fbbcf9bd826 (patch)
treea415d8408e651fcf7bc2cc4041e269e03a68b33c /python
parentc27b32f8c78cd7f909bdd58f57c2cc78bb1d0fa0 (diff)
use raw strings to pacify pytest
Diffstat (limited to 'python')
-rw-r--r--python/interaction.py2
-rw-r--r--python/websocketprovider.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/interaction.py b/python/interaction.py
index ba9da5a3..2331b586 100644
--- a/python/interaction.py
+++ b/python/interaction.py
@@ -1195,7 +1195,7 @@ def get_choice_input(prompt, title, choices):
def get_open_filename_input(prompt: str, ext: str = "") -> Optional[str]:
- """
+ r"""
``get_open_filename_input`` prompts the user for a file name to open
.. note:: This API functions differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line \
diff --git a/python/websocketprovider.py b/python/websocketprovider.py
index 2b453c35..f987c1df 100644
--- a/python/websocketprovider.py
+++ b/python/websocketprovider.py
@@ -136,7 +136,7 @@ class WebsocketClient(object):
raise NotImplementedError
def connect(self, url, headers=None, on_connected=nop, on_disconnected=nop, on_error=nop, on_data=nop):
- """
+ r"""
Connect to a given url, asynchronously. The connection will be run in a separate thread managed by the websocket provider.
Client callbacks are set according to whichever on\_ callback parameters you pass.