Fix tests when extras not installed

This commit is contained in:
Konsta Vesterinen
2015-05-22 13:20:43 +03:00
parent f91ffb1ea6
commit a70fe1c884
3 changed files with 3 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ from sqlalchemy_utils import DateRangeType
from tests import TestCase
intervals = None
inf = 0
try:
import intervals
from infinity import inf

View File

@@ -7,6 +7,7 @@ from sqlalchemy_utils import DateTimeRangeType
from tests import TestCase
intervals = None
inf = 0
try:
import intervals
from infinity import inf

View File

@@ -7,6 +7,7 @@ from sqlalchemy_utils import NumericRangeType
from tests import TestCase
intervals = None
inf = 0
try:
import intervals
from infinity import inf