diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-27 02:37:33 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-27 02:37:33 -0400 |
| commit | 20cdc64588b0f6ae52f8380c11d0ed848005377b (patch) | |
| tree | 08f6cc8f82263f1e402c1c05c83b66a1f4b016ac /test/aaa_profiling/test_memusage.py | |
| parent | 21cac5b598a83ef0e24423dc523629b475aa3af0 (diff) | |
| download | sqlalchemy-20cdc64588b0f6ae52f8380c11d0ed848005377b.tar.gz | |
trying different approaches to test layout. in this one, the testing modules
become an externally usable package but still remains within the main sqlalchemy parent package.
in this system, we use kind of an ugly hack to get the noseplugin imported outside of the
"sqlalchemy" package, while still making it available within sqlalchemy for usage by
third party libraries.
Diffstat (limited to 'test/aaa_profiling/test_memusage.py')
| -rw-r--r-- | test/aaa_profiling/test_memusage.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 9e58a10aa..fca0635d2 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -1,23 +1,24 @@ -from test.lib.testing import eq_ +from sqlalchemy.testing import eq_ from sqlalchemy.orm import mapper, relationship, create_session, \ clear_mappers, sessionmaker, class_mapper, aliased,\ Session, subqueryload from sqlalchemy.orm.mapper import _mapper_registry from sqlalchemy.orm.session import _sessions import operator -from test.lib import testing, engines +from sqlalchemy import testing +from sqlalchemy.testing import engines from sqlalchemy import MetaData, Integer, String, ForeignKey, \ PickleType, create_engine, Unicode -from test.lib.schema import Table, Column +from sqlalchemy.testing.schema import Table, Column import sqlalchemy as sa from sqlalchemy.sql import column from sqlalchemy.processors import to_decimal_processor_factory, \ to_unicode_processor_factory -from test.lib.util import gc_collect +from sqlalchemy.testing.util import gc_collect from sqlalchemy.util.compat import decimal import gc import weakref -from test.lib import fixtures +from sqlalchemy.testing import fixtures class A(fixtures.ComparableEntity): pass |
