File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99from typing import Sequence
1010from typing import Union
1111
12- import pytest
13-
1412from riot .riot import _T_CompletedProcess
1513
1614
@@ -194,7 +192,7 @@ def test_list_configurations(tmp_path: pathlib.Path) -> None:
194192 )
195193 result = run ("riot list" , cwd = tmp_path )
196194 assert result .stderr == ""
197- assert result .stdout == "test Python Interpreter(_hint='3')\n "
195+ assert result .stdout == "test Python Interpreter(_hint='3') \n "
198196 assert result .returncode == 0
199197
200198 rf_path .write_text (
@@ -486,12 +484,7 @@ def test_dev_install_fail(tmp_path: pathlib.Path) -> None:
486484""" ,
487485 )
488486 result = run ("riot run test" , cwd = tmp_path )
489- assert (
490- """
491- ERROR: File "setup.py" not found. Directory cannot be installed in editable mode:
492- """ .strip ()
493- in result .stderr
494- )
487+ assert "ERROR: File \" setup.py\" " in result .stderr
495488 assert "Dev install failed, aborting!" in result .stderr
496489 assert result .stdout == ""
497490 assert result .returncode == 1
You can’t perform that action at this time.
0 commit comments