❌ Test failed
Test | test_start_command_functions |
Testsuite | ./lib/python/script |
Test file | ./lib/python/script/testsuite/test_start_command_functions.py |
Status | FAILED |
Return code | 1 |
Number of tests | 6 |
Successful tests | 5 |
Failed tests | 1 |
Percent successful | 83% |
Test duration | 0:00:01.017553 |
lib/python/script/testsuite/test_start_command_functions.py:59: SyntaxWarning: non-ascii bytes literals not supported in 3.x run_command('g.search.modules', keyword=b'Příšerný kůň') WARNING: To run the module <g.region> add underscore at the end of the option <raster_> to avoid conflict with Python keywords. Underscore at the beginning is depreciated in GRASS GIS 7.0 and will be removed in version 7.1. .WARNING: To run the module <g.region> add underscore at the end of the option <raster> to avoid conflict with Python keywords. Underscore at the beginning is depreciated in GRASS GIS 7.0 and will be removed in version 7.1. ....E ====================================================================== ERROR: test_python_module_czech_unicode (__main__.TestPythonModuleWithUnicodeParameters) This likely fails on non-UTF-8 systems (i.e. MS Win) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/script/testsuite/test_start_command_functions.py", line 63, in test_python_module_czech_unicode run_command('g.search.modules', keyword=u'Příšerný kůň') File "etc/python/grass/script/core.py", line 413, in run_command ps = start_command(*args, **kwargs) File "etc/python/grass/script/core.py", line 370, in start_command val = encode(val) File "etc/python/grass/script/utils.py", line 217, in encode return bytes(string) UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-3: ordinal not in range(128) ---------------------------------------------------------------------- Ran 6 tests in 0.228s FAILED (errors=1)