Skip to content

Commit 7c006d8

Browse files
committed
Remove unreachable branch
1 parent 1d11b1c commit 7c006d8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

distutils/tests/test_clean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_simple_run(self):
3636
cmd.run()
3737

3838
# make sure the files where removed
39-
for name, path in dirs:
39+
for _name, path in dirs:
4040
assert not os.path.exists(path), '%s was not removed' % path
4141

4242
# let's run the command again (should spit warnings but succeed)

distutils/version.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,6 @@ def _cmp(self, other): # noqa: C901
212212
return -1
213213
else:
214214
return 1
215-
else:
216-
assert False, "never get here"
217215

218216

219217
# end class StrictVersion

0 commit comments

Comments
 (0)