Chore: Remove Python 2 compatibility

This commit is contained in:
Andreas Motl 2022-10-09 13:49:36 +02:00
parent 5db016cfb3
commit 85daf12fbd

View File

@ -22,14 +22,8 @@
# 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
# THE SOFTWARE.
try:
# Python 3.x
from unittest import mock
except ImportError:
# Python 2.7
import mock
import requests
from json import loads
from apprise import Apprise