Chore: Remove Python 2 compatibility

pull/687/head
Andreas Motl 2022-10-09 13:49:36 +02:00
parent 5db016cfb3
commit 85daf12fbd
1 changed files with 1 additions and 7 deletions

View File

@ -22,13 +22,7 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE. # THE SOFTWARE.
try: from unittest import mock
# Python 3.x
from unittest import mock
except ImportError:
# Python 2.7
import mock
import requests import requests
from json import loads from json import loads