Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Commitd6a2d28
committed
Mark some cygpath tests xfail
Two of the groups of cygpath tests in test_util.py generate teststhat fail on Cygwin. There is no easy way to still run, but xfail,just the specific tests that fail, because the groups of tests aregenerated with `@ddt` parameterization, but neither the unittestnor pytest xfail mechanisms interact with that. If`@pytest.mark.parametrized` were used, this could be done. Butthat does not work on methods of test classes that derive fromunittest.TestCase, including those in this project that indirectlyderive from it by deriving from TestBase. The TestBase base classcannot be removed without overhauling many tests, due to fixturesit provides such as rorepo.So this marks too many tests as xfail, but in doing so allows testruns to pass while still exercising and showing status on all thetests, allowing result changes to be observed easily.1 parent715dba4 commitd6a2d28
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
84 | 85 |
| |
85 | 86 |
| |
86 | 87 |
| |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 |
| |
88 | 93 |
| |
89 | 94 |
| |
90 | 95 |
| |
91 | 96 |
| |
92 | 97 |
| |
93 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 |
| |
95 | 104 |
| |
96 | 105 |
| |
|
0 commit comments
Comments
(0)