diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-01-18 02:45:31 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-01-18 02:45:31 +0000 |
commit | bde443a90293c5f18b72b100a21940b102ca784b (patch) | |
tree | 2e3bb639cc2c47d47d44e2cbc68d5494b38ea472 | |
parent | 9f90f049abecbb949f414b185e21c19daf16afae (diff) | |
download | psycopg2-bde443a90293c5f18b72b100a21940b102ca784b.tar.gz |
Fixed standard_conforming_strings filtering in Python 3 tests
-rwxr-xr-x | tests/types_extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/types_extras.py b/tests/types_extras.py index 1f4f69c..bb76338 100755 --- a/tests/types_extras.py +++ b/tests/types_extras.py @@ -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.""" |