mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
Avoid for-else loop
And here I thought this pythonic
This commit is contained in:
committed by
Floris Bruynooghe
parent
4bf2fc18e5
commit
c41bdaa2b7
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user