Get rid of utils.unused because it's unused
This commit is contained in:
parent
a5af98b063
commit
8df0b063be
@ -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:\.
|
||||
|
||||
|
@ -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:\\'),
|
||||
|
Loading…
Reference in New Issue
Block a user