mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +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')
|
datadir = path.join('test-data')
|
||||||
if datadir.isdir():
|
if datadir.isdir():
|
||||||
return datadir
|
return datadir
|
||||||
else:
|
pytest.skip('test-data directory not found')
|
||||||
pytest.skip('test-data directory not found')
|
|
||||||
|
|
||||||
|
|
||||||
class TestOfflineAccountBasic:
|
class TestOfflineAccountBasic:
|
||||||
|
|||||||
Reference in New Issue
Block a user