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
test(cli): disable newline translation in test_cli_print stream helper (#11123)
Darsh Joshi23001d9230fa
diff --git a/tests/_cli/test_cli_print.py b/tests/_cli/test_cli_print.pyindex fc87f7841b..6c130c637f 100644--- a/tests/_cli/test_cli_print.py+++ b/tests/_cli/test_cli_print.py@@ -8,7 +8,9 @@ from marimo._cli.print import echodef _stream(encoding: str) -> io.TextIOWrapper:- return io.TextIOWrapper(io.BytesIO(), encoding=encoding)+ # newline="\n" disables newline translation, so the assertions below see+ # exactly what echo() wrote on every platform (not "\r\n" on Windows).+ return io.TextIOWrapper(io.BytesIO(), encoding=encoding, newline="\n")def _read(stream: io.TextIOWrapper) -> str: