File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def missing_as_newer(source):
63
63
return missing == 'newer' and not os .path .exists (source )
64
64
65
65
ignored = os .path .exists if missing == 'ignore' else None
66
- return any (
66
+ return not os . path . exists ( target ) or any (
67
67
missing_as_newer (source ) or _newer (source , target )
68
68
for source in filter (ignored , sources )
69
69
)
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ def test_newer_pairwise_group(groups_target):
119
119
assert newer == ([groups_target .newer ], [groups_target .target ])
120
120
121
121
122
- @pytest .mark .xfail (reason = "pypa/distutils#284" )
123
122
def test_newer_group_no_sources_no_target (tmp_path ):
124
123
"""
125
124
Consider no sources and no target "newer".
You can’t perform that action at this time.
0 commit comments