Fixed standard_conforming_strings filtering in Python 3 tests

This commit is contained in:
Daniele Varrazzo 2011-01-18 02:45:31 +00:00
parent 9f90f049ab
commit bde443a902

View File

@ -35,7 +35,7 @@ def filter_scs(conn, s):
if conn.get_parameter_status("standard_conforming_strings") == 'off':
return s
else:
return s.replace("E'", "'")
return s.replace(b("E'"), b("'"))
class TypesExtrasTests(unittest.TestCase):
"""Test that all type conversions are working."""