From: Mike Bayer Date: Sun, 24 Jan 2010 21:42:21 +0000 (+0000) Subject: query X-Git-Tag: rel_0_6beta1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3e49722d19068ccc6cdd577748b4b8df158db9c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git query --- diff --git a/test/orm/test_unitofwork.py b/test/orm/test_unitofwork.py index 02340c0034..dff59c85a5 100644 --- a/test/orm/test_unitofwork.py +++ b/test/orm/test_unitofwork.py @@ -73,6 +73,16 @@ class VersioningTest(_base.MappedTest): # This test relies on an SAWarning being emitted, but the # subsequent tests' emits_warning cause that SAWarning to be # ignored forever. So it must run first + # + # + # TODO: ??????? + # works fine without the 0 for me, including + # forcing the emits_warning tests to the zero pos, + # emits_warning() resets the warnings filter after + # running the test. many emits_warnings() in other + # tests too + # + # save = testing.db.dialect.supports_sane_rowcount testing.db.dialect.supports_sane_rowcount = False try: