Skip to content

Commit 7309adf

Browse files
committed
tests: accept 'not a regular file' error for PIP_CONFIG_FILE
1 parent 7d0b6fb commit 7309adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/test_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def test_config_set_with_pip_config_file_devnull_shows_human_error(
230230
)
231231
assert "Fatal Internal error [id=2]" not in result.stderr
232232
assert "PIP_CONFIG_FILE" in result.stderr
233-
assert "non-regular file" in result.stderr
233+
assert "not a regular file" in result.stderr
234234

235235
@pytest.mark.network
236236
def test_editable_mode_default_config(

0 commit comments

Comments
 (0)