summaryrefslogtreecommitdiff
path: root/test/ext/test_hybrid.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ext/test_hybrid.py')
-rw-r--r--test/ext/test_hybrid.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ext/test_hybrid.py b/test/ext/test_hybrid.py
index 3dfd4c856..46fc01aae 100644
--- a/test/ext/test_hybrid.py
+++ b/test/ext/test_hybrid.py
@@ -23,7 +23,7 @@ Base = declarative_base()
class UCComparator(hybrid.Comparator):
-
+
def __eq__(self, other):
if other is None:
return self.expression == None
@@ -42,7 +42,7 @@ class A(Base):
@value.comparator
def value(cls):
return UCComparator(cls._value)
-
+
@value.setter
def value(self, v):
self.value = v
@@ -73,7 +73,7 @@ class A(Base):
@hybrid.property
def value(self):
return int(self._value)
-
+
@value.expression
def value(cls):
return func.foo(cls._value) + cls.bar_value
@@ -85,7 +85,7 @@ class A(Base):
@hybrid.property
def bar_value(cls):
return func.bar(cls._value)
-
+
#print A.value
#print A.value.__doc__