Appease the linter

This commit is contained in:
Luke Murphy 2019-12-04 22:51:11 +07:00
parent b21545348e
commit dfa865998d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -4,5 +4,7 @@
def test_version_fails_gracefully(mocker): def test_version_fails_gracefully(mocker):
target = 'pkg_resources.get_distribution' target = 'pkg_resources.get_distribution'
mocker.patch(target, side_effect=Exception()) mocker.patch(target, side_effect=Exception())
from flat_tree.__init__ import __version__ from flat_tree.__init__ import __version__
assert __version__ == 'unknown' assert __version__ == 'unknown'