diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 9f446cfcd..f924ab2c4 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -17,8 +17,7 @@ def datadir(): datadir = path.join('test-data') if datadir.isdir(): return datadir - else: - pytest.skip('test-data directory not found') + pytest.skip('test-data directory not found') class TestOfflineAccountBasic: