]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix the test_locale output format
authorMingli Yu <mingli.yu@windriver.com>
Mon, 5 Aug 2019 09:38:18 +0000 (02:38 -0700)
committerArmin Kuster <akuster808@gmail.com>
Sun, 10 Nov 2019 23:18:52 +0000 (15:18 -0800)
commit5b8022db53d9ef50ea35b034a6e27477038a508b
treee5c4af763ca7887f72b5660b4ba42d26821f66bc
parentc2c6f30554f96e551b71b3d66fb599a5d28a10bb
python3: fix the test_locale output format

Before this patch:
 # python3 -m test -v test_locale
 [snip]
 test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok
 [snip]

 After this patch:
 # python3 -m test -v test_locale
 [snip]
 test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9')... ok
 [snip]

Make the test ended with "... ok" is common in python
unittest world, we should make it keep consistent
with other test cases in case it may be ignored to
record in the report if we use the common filter
"... ok".

[YOCTO #13298]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.7.4.bb