INCR-419 python3 compatibility

This commit is contained in:
Ayub khan
2019-07-11 16:06:48 +05:00
parent fa693d1aa0
commit 0069d7db33
2 changed files with 7 additions and 2 deletions

View File

@@ -1,11 +1,14 @@
"""Code run by pylint before running any tests."""
# Patch the xml libs before anything else.
from safe_lxml import defuse_xml_libs
defuse_xml_libs()
from __future__ import absolute_import
import pytest
from safe_lxml import defuse_xml_libs
defuse_xml_libs()
@pytest.fixture(autouse=True)
def no_webpack_loader(monkeypatch):

View File

@@ -1,3 +1,5 @@
from __future__ import absolute_import
from setuptools import find_packages, setup
XMODULES = [