Skip to content

Commit bb9e258

Browse files
authored
Fixed error messages in other tests.
1 parent c357510 commit bb9e258

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/functional/test_install.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -641,9 +641,9 @@ def test_editable_install__local_dir_no_setup_py(
641641

642642
msg = result.stderr
643643
if deprecated_python:
644-
assert 'File "setup.py" not found. ' in msg
644+
assert 'File "setup.py" or "setup.cfg" not found. ' in msg
645645
else:
646-
assert msg.startswith('ERROR: File "setup.py" not found. ')
646+
assert msg.startswith('ERROR: File "setup.py" or "setup.cfg" not found. ')
647647
assert 'pyproject.toml' not in msg
648648

649649

@@ -663,9 +663,9 @@ def test_editable_install__local_dir_no_setup_py_with_pyproject(
663663

664664
msg = result.stderr
665665
if deprecated_python:
666-
assert 'File "setup.py" not found. ' in msg
666+
assert 'File "setup.py" or "setup.cfg" not found. ' in msg
667667
else:
668-
assert msg.startswith('ERROR: File "setup.py" not found. ')
668+
assert msg.startswith('ERROR: File "setup.py" or "setup.cfg" not found. ')
669669
assert 'A "pyproject.toml" file was found' in msg
670670

671671

0 commit comments

Comments
 (0)