Get rid of utils.unused because it's unused

This commit is contained in:
Florian Bruhin 2017-06-06 17:04:21 +02:00
parent a5af98b063
commit 8df0b063be
2 changed files with 0 additions and 9 deletions

View File

@ -860,11 +860,6 @@ def open_file(filename, cmdline=None):
proc.start_detached(cmd, args)
def unused(_arg):
"""Function which does nothing to avoid pylint complaining."""
pass
def expand_windows_drive(path):
r"""Expand a drive-path like E: into E:\.

View File

@ -925,10 +925,6 @@ class TestOpenFile:
m.assert_called_with(QUrl('file:///foo/bar'))
def test_unused():
utils.unused(None)
@pytest.mark.parametrize('path, expected', [
('E:', 'E:\\'),
('e:', 'e:\\'),