Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Wrong type usage in StringTest #95

merged 1 commit into from

2 participants


The StringTest.test_literal_backslashes() method makes use of Type 'Text' instead of 'String'. This causes the test suite to fail for dialects that support String but not Text.

@BY-jk BY-jk Wrong type usage
Wrong Type (TEXT) being used in StringTest

Any chance that this minimal change will make it into the next release? It breaks our build for the EXASOL dialect as it does not support the TEXT type. Deactivating the String Tests would be a suboptimal solution.


yes this pullreq is marked with the purple marker, means its on my list as I get a chance to review and merge PRs

@zzzeek zzzeek merged commit 39bea64 into zzzeek:master

thanks! merged to 0.9 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 30, 2014
  1. @BY-jk

    Wrong type usage

    BY-jk authored
    Wrong Type (TEXT) being used in StringTest
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sqlalchemy/testing/suite/
2  lib/sqlalchemy/testing/suite/
@@ -208,7 +208,7 @@ def test_literal_quoting(self):
def test_literal_backslashes(self):
data = r'backslash one \ backslash two \\ end'
- self._literal_round_trip(Text, [data], [data])
+ self._literal_round_trip(String(40), [data], [data])
class _DateFixture(_LiteralRoundTripFixture):
Something went wrong with that request. Please try again.