diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tests.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index 31f1431ea3..2cd2c7d163 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py | |||
@@ -382,12 +382,6 @@ class ViewTests(TestCase): | |||
382 | else: | 382 | else: |
383 | ret = BeautifulSoup(td).text | 383 | ret = BeautifulSoup(td).text |
384 | 384 | ||
385 | # We change the td into ascii as a way to remove characters | ||
386 | # such as \xa0 (non break space) which mess with the ordering | ||
387 | # comparisons | ||
388 | ret.strip().encode('ascii', | ||
389 | errors='replace').replace('?', ' ') | ||
390 | # Case where the td is empty | ||
391 | if len(ret): | 385 | if len(ret): |
392 | return "0" | 386 | return "0" |
393 | else: | 387 | else: |