forked from VimPlug/jedi
Running a test should not fail if nothing is selected
This commit is contained in:
@@ -421,7 +421,9 @@ if __name__ == '__main__':
|
||||
cases += collect_dir_tests(completion_test_dir, test_files, True)
|
||||
|
||||
def file_change(current, tests, fails):
|
||||
if current is not None:
|
||||
if current is None:
|
||||
current = ''
|
||||
else:
|
||||
current = os.path.basename(current)
|
||||
print('{:25} {} tests and {} fails.'.format(current, tests, fails))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user