test_start_command_functions

./lib/python/script – test_start_command_functions

Test failed

Testtest_start_command_functions
Testsuite./lib/python/script
Test file./lib/python/script/testsuite/test_start_command_functions.py
StatusFAILED
Return code1
Number of tests6
Successful tests5
Failed tests1
Percent successful83%
Test duration0:00:01.017553

Supplementary files

Standard error output (stderr)

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)