]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Aug 2019 20:50:33 +0000 (21:50 +0100)
commit4e698cf8f3a9c661f5b67c6001ad4d92b574d136
tree84b57d538060a8b06d24d61e52ffc69a6043af49
parent2a35202dbffd31eac1c00c03497549805853ad6c
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>
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