From e1bf9c05f9f6a3b0c3cf676a26097fbbcf9bd826 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 19 May 2022 21:25:25 -0400 Subject: use raw strings to pacify pytest --- python/interaction.py | 2 +- python/websocketprovider.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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. -- cgit v1.3.1