summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_memusage.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-04-23 12:34:38 -0700
committerMike Bayer <mike_mp@zzzcomputing.com>2011-04-23 12:34:38 -0700
commit46ee78431c81d25ad38b76639ff91f76a5873573 (patch)
tree0012a83d8ac03297d87be149b56cb356ae411ef1 /test/aaa_profiling/test_memusage.py
parente1ec48b6d9bc63ce450a932dca7a6718b38ddc71 (diff)
downloadsqlalchemy-46ee78431c81d25ad38b76639ff91f76a5873573.tar.gz
mark all aaa_profiling tests with __requires__ = 'cpython',
Diffstat (limited to 'test/aaa_profiling/test_memusage.py')
-rw-r--r--test/aaa_profiling/test_memusage.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py
index 80939376c..0cbe126b4 100644
--- a/test/aaa_profiling/test_memusage.py
+++ b/test/aaa_profiling/test_memusage.py
@@ -3,7 +3,6 @@ from sqlalchemy.orm import mapper, relationship, create_session, \
clear_mappers, sessionmaker, class_mapper
from sqlalchemy.orm.mapper import _mapper_registry
from sqlalchemy.orm.session import _sessions
-from sqlalchemy.util import jython
import operator
from test.lib import testing, engines
from sqlalchemy import MetaData, Integer, String, ForeignKey, \
@@ -19,11 +18,6 @@ import gc
import weakref
from test.lib import fixtures
-if jython:
- from nose import SkipTest
- raise SkipTest("Profiling not supported on this platform")
-
-
class A(fixtures.ComparableEntity):
pass
class B(fixtures.ComparableEntity):
@@ -75,6 +69,8 @@ class EnsureZeroed(fixtures.ORMTest):
class MemUsageTest(EnsureZeroed):
+ __requires__ = 'cpython',
+
# ensure a pure growing test trips the assertion
@testing.fails_if(lambda: True)
def test_fixture(self):