/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing
NameSizeModeActions
plugin/-0755rm
suite/-0755rm
assertions.py180170644editdlrm
assertions.pyc225090644editdlrm
assertions.pyo207830644editdlrm
assertsql.py133980644editdlrm
assertsql.pyc153670644editdlrm
assertsql.pyo150860644editdlrm
config.py26800644editdlrm
config.pyc41430644editdlrm
config.pyo40570644editdlrm
engines.py104370644editdlrm
engines.pyc154460644editdlrm
engines.pyo152770644editdlrm
entities.py32030644editdlrm
entities.pyc33140644editdlrm
entities.pyo33140644editdlrm
exclusions.py127650644editdlrm
exclusions.pyc199080644editdlrm
exclusions.pyo197260644editdlrm
fixtures.py108140644editdlrm
fixtures.pyc165860644editdlrm
fixtures.pyo165020644editdlrm
mock.py8930644editdlrm
mock.pyc7800644editdlrm
mock.pyo7800644editdlrm
pickleable.py26930644editdlrm
pickleable.pyc78860644editdlrm
pickleable.pyo78860644editdlrm
profiling.py85130644editdlrm
profiling.pyc87670644editdlrm
profiling.pyo87670644editdlrm
provision.py132630644editdlrm
provision.pyc168660644editdlrm
provision.pyo168660644editdlrm
replay_fixture.py58750644editdlrm
replay_fixture.pyc76650644editdlrm
replay_fixture.pyo76650644editdlrm
requirements.py268610644editdlrm
requirements.pyc455180644editdlrm
requirements.pyo455180644editdlrm
schema.py37120644editdlrm
schema.pyc36450644editdlrm
schema.pyo36450644editdlrm
util.py77380644editdlrm
util.pyc111660644editdlrm
util.pyo111240644editdlrm
warnings.py12980644editdlrm
warnings.pyc14020644editdlrm
warnings.pyo14020644editdlrm
__init__.py23620644editdlrm
__init__.pyc25600644editdlrm
__init__.pyo25600644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/testing/pickleable.py (2693B)
# testing/pickleable.py # Copyright (C) 2005-2019 the SQLAlchemy authors and contributors # # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Classes used in pickling tests, need to be at the module level for unpickling. """ from . import fixtures class User(fixtures.ComparableEntity): pass class Order(fixtures.ComparableEntity): pass class Dingaling(fixtures.ComparableEntity): pass class EmailUser(User): pass class Address(fixtures.ComparableEntity): pass # TODO: these are kind of arbitrary.... class Child1(fixtures.ComparableEntity): pass class Child2(fixtures.ComparableEntity): pass class Parent(fixtures.ComparableEntity): pass class Screen(object): def __init__(self, obj, parent=None): self.obj = obj self.parent = parent class Foo(object): def __init__(self, moredata): self.data = "im data" self.stuff = "im stuff" self.moredata = moredata __hash__ = object.__hash__ def __eq__(self, other): return ( other.data == self.data and other.stuff == self.stuff and other.moredata == self.moredata ) class Bar(object): def __init__(self, x, y): self.x = x self.y = y __hash__ = object.__hash__ def __eq__(self, other): return ( other.__class__ is self.__class__ and other.x == self.x and other.y == self.y ) def __str__(self): return "Bar(%d, %d)" % (self.x, self.y) class OldSchool: def __init__(self, x, y): self.x = x self.y = y def __eq__(self, other): return ( other.__class__ is self.__class__ and other.x == self.x and other.y == self.y ) class OldSchoolWithoutCompare: def __init__(self, x, y): self.x = x self.y = y class BarWithoutCompare(object): def __init__(self, x, y): self.x = x self.y = y def __str__(self): return "Bar(%d, %d)" % (self.x, self.y) class NotComparable(object): def __init__(self, data): self.data = data def __hash__(self): return id(self) def __eq__(self, other): return NotImplemented def __ne__(self, other): return NotImplemented class BrokenComparable(object): def __init__(self, data): self.data = data def __hash__(self): return id(self) def __eq__(self, other): raise NotImplementedError def __ne__(self, other): raise NotImplementedError