diff --git a/.vscode/settings.json b/.vscode/settings.json index c3d9720eee..474f46da91 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,5 +12,8 @@ "cssvar.extensions": ["js", "css", "html", "jsx", "tsx", "svelte"], "python.analysis.extraPaths": ["./gradio/themes/utils"], "prettier.configPath": ".config/.prettierrc.json", - "prettier.ignorePath": ".config/.prettierignore" + "prettier.ignorePath": ".config/.prettierignore", + "python.testing.pytestArgs": ["."], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true } diff --git a/test/test_interfaces.py b/test/test_interfaces.py index 00bed720dd..ade45d9dcf 100644 --- a/test/test_interfaces.py +++ b/test/test_interfaces.py @@ -95,7 +95,7 @@ class TestInterface: interface.launch(prevent_thread_lock=False) output = out.getvalue().strip() assert ( - output == "Keyboard interruption in main thread... closing server." + "Keyboard interruption in main thread... closing server." in output ) @mock.patch("gradio.utils.colab_check")