This commit is contained in:
Kyle Lahnakoski 2019-11-20 09:04:04 -05:00
Родитель 432dbf5896
Коммит 714e3028dc
2 изменённых файлов: 11 добавлений и 4 удалений

Просмотреть файл

@ -12,7 +12,10 @@ from __future__ import absolute_import, division, unicode_literals
from unittest import TestCase
from moz_sql_parser import parse, format
from .util import assertRaises # RELATIVE IMPORT SO WE CAN RUN IN pyLibrary
try:
from tests.util import assertRaises
except ImportError:
from .util import assertRaises # RELATIVE IMPORT SO WE CAN RUN IN pyLibrary
class TestErrors(TestCase):

Просмотреть файл

@ -9,10 +9,14 @@
from __future__ import absolute_import, division, unicode_literals
from unittest import TestCase, skip
from unittest import TestCase
from moz_sql_parser import parse, sql_parser
from .util import assertRaises
from moz_sql_parser import parse
try:
from tests.util import assertRaises
except ImportError:
from .util import assertRaises # RELATIVE IMPORT SO WE CAN RUN IN pyLibrary
class TestSimple(TestCase):