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