File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -438,8 +438,9 @@ def do_test_with_pip(self, system_site_packages):
438
438
# Please check the permissions and owner of that directory. If
439
439
# executing pip with sudo, you may want sudo's -H flag."
440
440
# where $HOME is replaced by the HOME environment variable.
441
- err = re .sub ("^The directory .* or its parent directory is not owned "
442
- "by the current user .*$" , "" , err , flags = re .MULTILINE )
441
+ err = re .sub ("^(WARNING: )?The directory .* or its parent directory "
442
+ "is not owned by the current user .*$" , "" ,
443
+ err , flags = re .MULTILINE )
443
444
self .assertEqual (err .rstrip (), "" )
444
445
# Being fairly specific regarding the expected behaviour for the
445
446
# initial bundling phase in Python 3.4. If the output changes in
You can’t perform that action at this time.
0 commit comments