File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,14 @@ def test_cleanup_prevented_upon_build_dir_exception(
4141 '--build' , build ,
4242 expect_error = (not use_new_resolver ),
4343 expect_temp = (not use_new_resolver ),
44+ expect_stderr = True ,
4445 )
4546
47+ assert (
48+ "The -b/--build/--build-dir/--build-directory "
49+ "option is deprecated."
50+ ) in result .stderr
51+
4652 if not use_new_resolver :
4753 assert result .returncode == PREVIOUS_BUILD_DIR_ERROR , str (result )
4854 assert "pip can't proceed" in result .stderr , str (result )
Original file line number Diff line number Diff line change @@ -252,8 +252,14 @@ def test_pip_wheel_fail_cause_of_previous_build_dir(
252252 'simple==3.0' ,
253253 expect_error = (not use_new_resolver ),
254254 expect_temp = (not use_new_resolver ),
255+ expect_stderr = True ,
255256 )
256257
258+ assert (
259+ "The -b/--build/--build-dir/--build-directory "
260+ "option is deprecated."
261+ ) in result .stderr
262+
257263 # Then I see that the error code is the right one
258264 if not use_new_resolver :
259265 assert result .returncode == PREVIOUS_BUILD_DIR_ERROR , result
You can’t perform that action at this time.
0 commit comments