A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
tests: fix windows test for permissions (#9062)
Myles Scolnickde838fc23ac6
diff --git a/tests/_cli/test_cli_pair.py b/tests/_cli/test_cli_pair.pyindex 442fed35ed..0939f840d9 100644--- a/tests/_cli/test_cli_pair.py+++ b/tests/_cli/test_cli_pair.py@@ -2,6 +2,7 @@from __future__ import annotationsimport hashlib+import sysfrom typing import TYPE_CHECKINGfrom unittest.mock import patch@@ -91,7 +92,8 @@ class TestPairPromptWithToken:token_file = tmp_path / f"{url_hash}-token.txt"assert token_file.exists()assert token_file.read_text() == "my-secret-token"- assert oct(token_file.stat().st_mode & 0o777) == "0o600"+ if sys.platform != "win32":+ assert oct(token_file.stat().st_mode & 0o777) == "0o600"def test_with_token_still_requires_url(self) -> None:result = _runner.invoke(