Skip to content

Commit

Permalink
Fixed error messages in other tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
KOLANICH authored Mar 2, 2021
1 parent c357510 commit bb9e258
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/functional/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,9 +641,9 @@ def test_editable_install__local_dir_no_setup_py(

msg = result.stderr
if deprecated_python:
assert 'File "setup.py" not found. ' in msg
assert 'File "setup.py" or "setup.cfg" not found. ' in msg
else:
assert msg.startswith('ERROR: File "setup.py" not found. ')
assert msg.startswith('ERROR: File "setup.py" or "setup.cfg" not found. ')
assert 'pyproject.toml' not in msg


Expand All @@ -663,9 +663,9 @@ def test_editable_install__local_dir_no_setup_py_with_pyproject(

msg = result.stderr
if deprecated_python:
assert 'File "setup.py" not found. ' in msg
assert 'File "setup.py" or "setup.cfg" not found. ' in msg
else:
assert msg.startswith('ERROR: File "setup.py" not found. ')
assert msg.startswith('ERROR: File "setup.py" or "setup.cfg" not found. ')
assert 'A "pyproject.toml" file was found' in msg


Expand Down

0 comments on commit bb9e258

Please sign in to comment.