support the new CLI in py2 *and* py3

This commit is contained in:
Ryan Petrello
2019-08-19 17:59:49 -04:00
parent 2cdd007ed0
commit 80b4102aa9
21 changed files with 154 additions and 52 deletions

View File

@@ -1,4 +1,7 @@
from unittest.mock import patch
try:
from unittest.mock import patch
except ImportError:
from mock import patch
import pytest