Commit d1324825 authored by Jason Madden's avatar Jason Madden

Rollback some test changes now that Python persistent handles registration...

Rollback some test changes now that Python persistent handles registration during __setstate__ the same way C persistent does.
parent 1a55a0ad
...@@ -343,7 +343,6 @@ class InvalidationTests: ...@@ -343,7 +343,6 @@ class InvalidationTests:
self._check_tree(cn, tree) self._check_tree(cn, tree)
self._check_threads(tree, t1, t2) self._check_threads(tree, t1, t2)
transaction.abort()
cn.close() cn.close()
db1.close() db1.close()
db2.close() db2.close()
...@@ -375,7 +374,6 @@ class InvalidationTests: ...@@ -375,7 +374,6 @@ class InvalidationTests:
self._check_tree(cn, tree) self._check_tree(cn, tree)
self._check_threads(tree, t1, t2) self._check_threads(tree, t1, t2)
transaction.abort()
cn.close() cn.close()
db1.close() db1.close()
db2.close() db2.close()
...@@ -405,7 +403,6 @@ class InvalidationTests: ...@@ -405,7 +403,6 @@ class InvalidationTests:
self._check_tree(cn, tree) self._check_tree(cn, tree)
self._check_threads(tree, *threads) self._check_threads(tree, *threads)
transaction.abort()
cn.close() cn.close()
_ = [db.close() for db in dbs] _ = [db.close() for db in dbs]
...@@ -430,7 +427,6 @@ class InvalidationTests: ...@@ -430,7 +427,6 @@ class InvalidationTests:
self._check_tree(cn, tree) self._check_tree(cn, tree)
self._check_threads(tree, t1, t2) self._check_threads(tree, t1, t2)
transaction.abort()
cn.close() cn.close()
db1.close() db1.close()
...@@ -465,7 +461,6 @@ class InvalidationTests: ...@@ -465,7 +461,6 @@ class InvalidationTests:
self._check_tree(cn, tree) self._check_tree(cn, tree)
self._check_threads(tree, t1, t2, t3) self._check_threads(tree, t1, t2, t3)
transaction.abort()
cn.close() cn.close()
db1.close() db1.close()
db2.close() db2.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment