Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork948
Commit42a3d74
committed
Mark TestSubmodule.test_rename xfail on Windows
The test fails when attempting to evaluate the expression: sm.move(new_path).nameas part of the assertion: assert sm.move(new_path).name == new_pathBut it is the call to sm.move that fails, not the assertion itself.The condition is never evaluated, because the subexpression raisesPermissionError. Details are in the xfail reason string.This test_submodule.TestSubmodule.test_rename method should not beconfused with test_config.TestBase.test_rename, which passes on allplatforms.On CI this has XPASS status on Python 3.7 and possibly some otherversions. This should be investigated and, if possible, the xfailmarkings should be made precise. (When working on this changebefore a rebase, I had thought only 3.7 xpassed, and that the XPASSwas only on CI, never locally. However, I am unable to reproducethat or find CI logs of it, so some of these observations may havebeen mistaken and/or or specific to a narrow environment.)1 parentf72e282 commit42a3d74
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
949 | 949 |
| |
950 | 950 |
| |
951 | 951 |
| |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
952 | 963 |
| |
953 | 964 |
| |
954 | 965 |
| |
|
0 commit comments
Comments
(0)