From 3543437fc58d5be546a9ca10c44d8397f0dcde3a Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 2 Jan 2026 12:01:35 +0000 Subject: [PATCH] test: add test chinese comment to strategy_test file --- tests/strategy/strats/strategy_test_v2.py | 10 ++++++++++ tests/strategy/strats/strategy_test_v3.py | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/tests/strategy/strats/strategy_test_v2.py b/tests/strategy/strats/strategy_test_v2.py index 58473e9c0..04d218bc6 100644 --- a/tests/strategy/strats/strategy_test_v2.py +++ b/tests/strategy/strats/strategy_test_v2.py @@ -14,6 +14,16 @@ class StrategyTestV2(IStrategy): Please look at the SampleStrategy in the user_data/strategy directory or strategy repository https://github.com/freqtrade/freqtrade-strategies for samples and inspiration. + + --- + + Some test asian characters. + Ensures that unicode characters are handled correctly when reading strategy files. + Otherwise this may break on windows systems. + All roughly translate to "hello world". + chinese string: "你好世界" + korean string: "안녕하세요,세계" + japanese string: "こんにちは、世界" """ INTERFACE_VERSION = 2 diff --git a/tests/strategy/strats/strategy_test_v3.py b/tests/strategy/strats/strategy_test_v3.py index e87810111..993b04d4b 100644 --- a/tests/strategy/strats/strategy_test_v3.py +++ b/tests/strategy/strats/strategy_test_v3.py @@ -23,6 +23,16 @@ class StrategyTestV3(IStrategy): Please look at the SampleStrategy in the user_data/strategy directory or strategy repository https://github.com/freqtrade/freqtrade-strategies for samples and inspiration. + + --- + + Some test asian characters. + Ensures that unicode characters are handled correctly when reading strategy files. + Otherwise this may break on windows systems. + All roughly translate to "hello world". + chinese string: "你好世界" + korean string: "안녕하세요,세계" + japanese string: "こんにちは、世界" """ INTERFACE_VERSION = 3