mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Don't use setattr
This commit is contained in:
@@ -52,7 +52,7 @@ def pytest_configure(config):
|
|||||||
"markers", "longrun: mark test that is running slowly and should not be run regularly"
|
"markers", "longrun: mark test that is running slowly and should not be run regularly"
|
||||||
)
|
)
|
||||||
if not config.option.longrun:
|
if not config.option.longrun:
|
||||||
setattr(config.option, 'markexpr', 'not longrun')
|
config.option.markexpr = 'not longrun'
|
||||||
|
|
||||||
|
|
||||||
class FixtureScheduler(LoadScopeScheduling):
|
class FixtureScheduler(LoadScopeScheduling):
|
||||||
|
|||||||
Reference in New Issue
Block a user