INCR-429 python3 compatibility

This commit is contained in:
Ayub khan
2019-07-12 12:50:59 +05:00
parent 0cbb643c6d
commit 9cb5274e91
2 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
"""Code run by pylint before running any tests."""
# Patch the xml libs before anything else.
from __future__ import absolute_import
from safe_lxml import defuse_xml_libs
defuse_xml_libs()

View File

@@ -1,6 +1,8 @@
"""
General testing utilities.
"""
from __future__ import absolute_import
import functools
import sys
from contextlib import contextmanager