summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_memusage.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 16:27:27 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 16:27:27 -0400
commit68a350d462b6840d6623a89565f8febf3a997830 (patch)
tree4d3ea4d93d14738a1c5a418a37917f80a41cf85e /test/aaa_profiling/test_memusage.py
parenta3083eabf467e7f36db0850342758ce162c3eef8 (diff)
downloadsqlalchemy-68a350d462b6840d6623a89565f8febf3a997830.tar.gz
- remove test.sql._base, test.engine._base, test.orm._base, move those classes to a new test.lib.fixtures module
- move testing.TestBase to test.lib.fixtures - massive search and replace
Diffstat (limited to 'test/aaa_profiling/test_memusage.py')
-rw-r--r--test/aaa_profiling/test_memusage.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py
index 3e225ad08..80939376c 100644
--- a/test/aaa_profiling/test_memusage.py
+++ b/test/aaa_profiling/test_memusage.py
@@ -17,16 +17,16 @@ from test.lib.util import gc_collect
from sqlalchemy.util.compat import decimal
import gc
import weakref
-from test.orm import _base
+from test.lib import fixtures
if jython:
from nose import SkipTest
raise SkipTest("Profiling not supported on this platform")
-class A(_base.ComparableEntity):
+class A(fixtures.ComparableEntity):
pass
-class B(_base.ComparableEntity):
+class B(fixtures.ComparableEntity):
pass
def profile_memory(func):
@@ -68,7 +68,7 @@ def assert_no_mappers():
gc_collect()
assert len(_mapper_registry) == 0
-class EnsureZeroed(_base.ORMTest):
+class EnsureZeroed(fixtures.ORMTest):
def setup(self):
_sessions.clear()
_mapper_registry.clear()
@@ -388,7 +388,7 @@ class MemUsageTest(EnsureZeroed):
@profile_memory
def go():
- class A(_base.ComparableEntity):
+ class A(fixtures.ComparableEntity):
pass
class B(A):
pass
@@ -454,9 +454,9 @@ class MemUsageTest(EnsureZeroed):
@profile_memory
def go():
- class A(_base.ComparableEntity):
+ class A(fixtures.ComparableEntity):
pass
- class B(_base.ComparableEntity):
+ class B(fixtures.ComparableEntity):
pass
mapper(A, table1, properties={