mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-29 10:20:25 +00:00
chore: remove obsolete version check
This commit is contained in:
@@ -2,20 +2,13 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from freqtrade.commands.strategy_utils_commands import start_strategy_update
|
from freqtrade.commands.strategy_utils_commands import start_strategy_update
|
||||||
from freqtrade.strategy.strategyupdater import StrategyUpdater
|
from freqtrade.strategy.strategyupdater import StrategyUpdater
|
||||||
from tests.conftest import get_args
|
from tests.conftest import get_args
|
||||||
|
|
||||||
|
|
||||||
if sys.version_info < (3, 9):
|
|
||||||
pytest.skip("StrategyUpdater is not compatible with Python 3.8", allow_module_level=True)
|
|
||||||
|
|
||||||
|
|
||||||
def test_strategy_updater_start(user_dir, capsys) -> None:
|
def test_strategy_updater_start(user_dir, capsys) -> None:
|
||||||
# Effective test without mocks.
|
# Effective test without mocks.
|
||||||
teststrats = Path(__file__).parent / "strategy/strats"
|
teststrats = Path(__file__).parent / "strategy/strats"
|
||||||
|
|||||||
Reference in New Issue
Block a user