diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-25 12:33:37 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-25 12:35:06 -0400 |
| commit | 00f3ca98ce24577f6a7fb40efd15bdb2d86acd26 (patch) | |
| tree | caaa801e5fdc945361a52df5f69ebdc868855d53 /test/sql/test_compiler.py | |
| parent | 2452c49cc4d2244d0efef78e051eb65f79b7c712 (diff) | |
| download | sqlalchemy-00f3ca98ce24577f6a7fb40efd15bdb2d86acd26.tar.gz | |
forgot to add system to the copy() method
Conflicts:
lib/sqlalchemy/schema.py
Diffstat (limited to 'test/sql/test_compiler.py')
| -rw-r--r-- | test/sql/test_compiler.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/sql/test_compiler.py b/test/sql/test_compiler.py index d52d80429..a3ec3af84 100644 --- a/test/sql/test_compiler.py +++ b/test/sql/test_compiler.py @@ -2809,6 +2809,13 @@ class DDLTest(fixtures.TestBase, AssertsCompiledSQL): schema.CreateTable(t), "CREATE TABLE t (x INTEGER, z INTEGER)" ) + m2 = MetaData() + t2 = t.tometadata(m2) + self.assert_compile( + schema.CreateTable(t2), + "CREATE TABLE t (x INTEGER, z INTEGER)" + ) + class InlineDefaultTest(fixtures.TestBase, AssertsCompiledSQL): __dialect__ = 'default' |
