diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-08-05 16:38:25 +0000 |
---|---|---|
committer | Chun Kuan Lee <ken2812221@gmail.com> | 2018-09-30 15:08:16 +0800 |
commit | 380c843217139b180457889699c65b37ae3b4a87 (patch) | |
tree | 14f563548a07e34860364c8046e83ef8671730a9 /test/functional/feature_uacomment.py | |
parent | 9b8bb5f1402a07736be7d649c2253253672d04e1 (diff) |
utils: Convert Windows args to utf-8 string
Diffstat (limited to 'test/functional/feature_uacomment.py')
-rwxr-xr-x | test/functional/feature_uacomment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_uacomment.py b/test/functional/feature_uacomment.py index 691a39b825..fb4ad21359 100755 --- a/test/functional/feature_uacomment.py +++ b/test/functional/feature_uacomment.py @@ -31,7 +31,7 @@ class UacommentTest(BitcoinTestFramework): self.nodes[0].assert_start_raises_init_error(["-uacomment=" + 'a' * 256], expected, match=ErrorMatch.FULL_REGEX) self.log.info("test -uacomment unsafe characters") - for unsafe_char in ['/', ':', '(', ')']: + for unsafe_char in ['/', ':', '(', ')', '₿', '🏃']: expected = "Error: User Agent comment \(" + re.escape(unsafe_char) + "\) contains unsafe characters." self.nodes[0].assert_start_raises_init_error(["-uacomment=" + unsafe_char], expected, match=ErrorMatch.FULL_REGEX) |