From: Ed Bartosh Date: Tue, 7 Jun 2016 15:37:26 +0000 (+0100) Subject: toaster: fix test_toaster_tables X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1626e986820da626c19aa8c664155a2cb1db8fd9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: fix test_toaster_tables Removed unneeded code as it causes the following error in Python 3: TypeError: expected bytes, bytearray or buffer compatible object Signed-off-by: Ed Bartosh --- diff --git a/lib/toaster/toastergui/tests.py b/lib/toaster/toastergui/tests.py index 31f1431ea3f..2cd2c7d1630 100644 --- a/lib/toaster/toastergui/tests.py +++ b/lib/toaster/toastergui/tests.py @@ -382,12 +382,6 @@ class ViewTests(TestCase): else: ret = BeautifulSoup(td).text - # We change the td into ascii as a way to remove characters - # such as \xa0 (non break space) which mess with the ordering - # comparisons - ret.strip().encode('ascii', - errors='replace').replace('?', ' ') - # Case where the td is empty if len(ret): return "0" else: