diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-01 19:42:54 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-01 19:42:54 -0400 |
commit | 47a799ecd5d03b78e5d67918302c0da2950d27b8 (patch) | |
tree | ef349b936cfe7b158f065459d931409465cfe618 /test/sql/test_constraints.py | |
parent | 2563b33453dee1b55500f13421b7b50ba367a504 (diff) | |
download | sqlalchemy-47a799ecd5d03b78e5d67918302c0da2950d27b8.tar.gz |
- sql
- [bug] Removed warning when Index is created
with no columns; while this might not be what
the user intended, it is a valid use case
as an Index could be a placeholder for just an
index of a certain name.
- mssql
- [feature] Added interim create_engine flag
supports_unicode_binds to PyODBC dialect,
to force whether or not the dialect
passes Python unicode literals to PyODBC
or not.
Diffstat (limited to 'test/sql/test_constraints.py')
-rw-r--r-- | test/sql/test_constraints.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py index 246878624..5ea5a7eda 100644 --- a/test/sql/test_constraints.py +++ b/test/sql/test_constraints.py @@ -271,12 +271,8 @@ class ConstraintTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiled Index, "foo", 5 ) - def test_warn_no_columns(self): - assert_raises_message( - exc.SAWarning, - "No column names or expressions given for Index.", - Index, "foo" - ) + def test_no_warning_w_no_columns(self): + Index(name="foo") def test_raise_clauseelement_not_a_column(self): m = MetaData() |