summaryrefslogtreecommitdiff
path: root/test/testlib/testing.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-11-14 18:57:24 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-11-14 18:57:24 +0000
commit3e486caaabdaa47692d24fb4f0a8ee05f07d5692 (patch)
tree49f89abfc85040dfcce750b4bad893b99c12f3f9 /test/testlib/testing.py
parentb2a7892b1091cadf0dddedb72adb98067f76f336 (diff)
downloadsqlalchemy-3e486caaabdaa47692d24fb4f0a8ee05f07d5692.tar.gz
- switched session.save() to session.add() throughout declarative test
- Fixed PendingDeprecationWarning involving order_by parameter on relation(). [ticket:1226] - Unit tests still filter pending deprecation warnings but have a commented-out line to temporarily disable this behavior. Tests need to be fully converted before we can turn this on.
Diffstat (limited to 'test/testlib/testing.py')
-rw-r--r--test/testlib/testing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py
index b38968964..f6a16a4f8 100644
--- a/test/testlib/testing.py
+++ b/test/testlib/testing.py
@@ -377,6 +377,8 @@ def resetwarnings():
warnings.filterwarnings('error', category=sa_exc.SADeprecationWarning)
warnings.filterwarnings('error', category=sa_exc.SAWarning)
+# warnings.simplefilter('error')
+
if sys.version_info < (2, 4):
warnings.filterwarnings('ignore', category=FutureWarning)