Skip to content

Commit 35f3e96

Browse files
committed
fix config file
1 parent 91b7092 commit 35f3e96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def test_examples_emscripten(session: nox.Session):
283283
python_version = os.environ["PYTHON_VERSION"]
284284
emscripten_version = os.environ["EMSCRIPTEN_VERSION"]
285285

286-
with tempfile.NamedTemporaryFile() as pyo3_config:
286+
with tempfile.NamedTemporaryFile('w') as pyo3_config:
287287
pyo3_config.write(f"""\
288288
implementation=CPython
289289
version={python_version}

0 commit comments

Comments
 (0)