Fix test_output_processor_error undere PyPy

For float(u'$10') PyPy includes "u'" in the error message,
and it's more fair to check error message on input we are really
passing.
This commit is contained in:
Konstantin Lopuhin 2016-09-01 18:39:25 +03:00
parent 5a08cf3b96
commit 6014856df5
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ class BasicItemLoaderTest(unittest.TestCase):
il = TestItemLoader()
il.add_value('name', [u'$10'])
try:
float('$10')
float(u'$10')
except Exception as e:
expected_exc_str = str(e)