|
|
@@ -1369,7 +1369,7 @@ class _TestCases(unittest.TestCase): |
|
|
|
|
|
|
|
for cmd in cmds: |
|
|
|
try: |
|
|
|
if cmd['skip']: |
|
|
|
if cmd['skip']: # pragma: no cover |
|
|
|
continue |
|
|
|
except KeyError: |
|
|
|
pass |
|
|
@@ -1400,7 +1400,10 @@ class _TestCases(unittest.TestCase): |
|
|
|
else: # pragma: no cover |
|
|
|
raise ValueError('unhandled special: %s' % repr(special)) |
|
|
|
|
|
|
|
continue |
|
|
|
# coverage bug, fixed in 3.10: |
|
|
|
# https://github.com/nedbat/coveragepy/issues/1432#event-7130600158 |
|
|
|
if True: # pragma: no cover |
|
|
|
continue |
|
|
|
|
|
|
|
with self.subTest(file=f, title=cmd['title']), \ |
|
|
|
mock.patch('os.path.expanduser', |
|
|
|