"Python version 2.6 or greater is required"
)
)
+
+def python25(fn):
+ return _chain_decorators_on(
+ fn,
+ skip_if(
+ lambda: sys.version_info < (2, 5),
+ "Python version 2.5 or greater is required"
+ )
+ )
def _has_cextensions():
try:
__only_on__ = 'postgresql'
+ @testing.requires.python25
@testing.fails_on('postgresql+pg8000', 'No support for UUID type')
def test_uuid_string(self):
import uuid
str(uuid.uuid4())
)
+ @testing.requires.python25
@testing.fails_on('postgresql+pg8000', 'No support for UUID type')
def test_uuid_uuid(self):
import uuid