summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-06-12 20:46:22 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-06-12 20:46:22 +0000
commitfd107f2329b760d6bfb2871ed31b2c9dcb4ef922 (patch)
tree097982b0096e72ac87065b0c746d314f0dd0025f
parentd3fb8ff9044b6dcaec7a983ecb99498a5669e9de (diff)
downloadsqlalchemy-fd107f2329b760d6bfb2871ed31b2c9dcb4ef922.tar.gz
remove old test
-rw-r--r--attributes_rollback_test.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/attributes_rollback_test.py b/attributes_rollback_test.py
deleted file mode 100644
index ab0705ae5..000000000
--- a/attributes_rollback_test.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from sqlalchemy.orm import attributes
-class Foo(object):pass
-attributes.register_class(Foo)
-attributes.register_attribute(Foo, 'x', uselist=False, useobject=False, mutable_scalars=True, copy_function=lambda x:x.copy())
-
-f = Foo()
-f._foostate.set_savepoint()
-print f._foostate.get_history('x')
-
-f.x = {'1':15}
-
-
-print f._foostate.get_history('x')
-f._foostate.commit_all()
-
-print f._foostate.get_history('x')
-
-f.x['2'] = 40
-print f._foostate.get_history('x')
-
-f._foostate.rollback()
-
-print f._foostate.get_history('x')
-
-#import pdb
-#pdb.Pdb().break_here()
-
-print f.x
-f.x['2'] = 40
-print f._foostate.get_history('x')
-