From: Mike Bayer Date: Tue, 14 Aug 2007 15:10:42 +0000 (+0000) Subject: adjustment to table_names test such that the DB can have extra tables around X-Git-Tag: rel_0_4beta3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be79a6e32867002f6f17dedf584d66c5d10f696;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git adjustment to table_names test such that the DB can have extra tables around --- diff --git a/test/engine/reflection.py b/test/engine/reflection.py index 97bf4bab9b..da6f75149b 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -651,7 +651,7 @@ class UnicodeTest(PersistTest): metadata.create_all() reflected = set(bind.table_names()) - if reflected != names: + if not names.issubset(reflected): # Python source files in the utf-8 coding seem to normalize # literals as NFC (and the above are explicitly NFC). Maybe # this database normalizes NFD on reflection.