diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-24 18:06:27 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-04-24 18:06:27 -0400 |
| commit | 9cf10db8aa4692dc615f1a03db5ffe342c321586 (patch) | |
| tree | bc175ec68845968fd307317c062db44319d1688b /test/aaa_profiling/test_zoomark.py | |
| parent | cfe56e3735d2ba34923c36e9f015253e535ed1bd (diff) | |
| download | sqlalchemy-9cf10db8aa4692dc615f1a03db5ffe342c321586.tar.gz | |
- [feature] Calling rollback() within a
session.begin_nested() will now only expire
those objects that had net changes within the
scope of that transaction, that is objects which
were dirty or were modified on a flush. This
allows the typical use case for begin_nested(),
that of altering a small subset of objects, to
leave in place the data from the larger enclosing
set of objects that weren't modified in
that sub-transaction. [ticket:2452]
- inline the "register_newly_XYZ" functions to operate
upon collections to reduce method calls
Diffstat (limited to 'test/aaa_profiling/test_zoomark.py')
| -rw-r--r-- | test/aaa_profiling/test_zoomark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py index d4c66336c..3706d8e82 100644 --- a/test/aaa_profiling/test_zoomark.py +++ b/test/aaa_profiling/test_zoomark.py @@ -377,8 +377,8 @@ class ZooMarkTest(fixtures.TestBase): def test_profile_2_insert(self): self.test_baseline_2_insert() - @profiling.function_call_count(3340, {'2.7':3333, - '2.7+cextension':3317, '2.6':3333}) + @profiling.function_call_count(3340, {'2.7':3109, + '2.7+cextension':3109, '2.6':3109}) def test_profile_3_properties(self): self.test_baseline_3_properties() |
