no need to have coverage for system library exceptions

This commit is contained in:
Alan Hamlett 2016-09-13 15:51:56 +02:00
parent 7ef63ac191
commit 8960d5b968

View file

@ -478,7 +478,7 @@ def format_file_path(filepath):
filepath = os.path.realpath(os.path.abspath(filepath)) filepath = os.path.realpath(os.path.abspath(filepath))
filepath = re.sub(r'[/\\]', os.path.sep, filepath) filepath = re.sub(r'[/\\]', os.path.sep, filepath)
except: except:
pass pass # pragma: nocover
return filepath return filepath