class MergeTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
sess2.connection() # autobegin
- @profiling.function_call_count(variance=0.10)
+ # use a huge variance on this because it really changes quite randomly
+ # on different Python verrsions / CPUs etc.
+ @profiling.function_call_count(variance=0.50)
def go():
sess2.merge(p1)
"""
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class MergeBackrefsTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class DeferOptionsTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class AttributeOverheadTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class SessionTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class QueryTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
"""
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class JoinedEagerLoadTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class JoinConditionTest(NoCache, fixtures.DeclarativeMappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def setup_classes(cls):
class BranchedOptionTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class AnnotatedOverheadTest(NoCache, fixtures.MappedTest):
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
@classmethod
def define_tables(cls, metadata):
class WithExpresionLoaderOptTest(fixtures.DeclarativeMappedTest):
# keep caching on with this test.
__requires__ = ("python_profiling_backend",)
+ __backend__ = True
"""test #11085"""