from __future__ import print_function
# pylint: disable=unused-import
-import argparse
-import atexit
-import codecs
+import abc, argparse, atexit
+import base64, binascii
+import codecs, collections, contextlib
import datetime
import errno
-import fileinput
-import fnmatch
+import fcntl, fileinput, fnmatch
import glob
-import io
+import hashlib
+import inspect, io, itertools
+import json
+import logging
import multiprocessing
import os
+import pprint
import re
-import signal
-import subprocess
-import sys
-import time
+import shlex, shutil, signal, socket, struct, subprocess, sys
+import tarfile, tempfile, time, traceback
import unittest
-try:
- from unittest import mock
-except ImportError:
+if sys.version_info.major < 3:
import mock
+else:
+ import pathlib
+ from pathlib import Path
+ import typing
+ from typing import (
+ Any, Callable, Dict, Generator, Iterable, Iterator, List, NamedTuple,
+ Optional, Set, Tuple, Union,
+ )
+ from unittest import mock
import requests
import six