Repository: pndurette/gTTS (language: python)

Issue:
use unittest.mock instead of mock
## Prerequisites
* [x] Did you make sure a similar [issue](../) didn't exist?
* [x] Did you update gTTS to the latest? (`pip install --upgrade gTTS`)

## Current Behaviour (steps to reproduce)
Uses mock for testing.

## Expected Behaviour
At least fallback to unittest.mock could be considered.




Discussion / hints:
This patch makes this problem go away:
```diff
---
 gtts/tests/test_tts.py |    2 +-
 setup.cfg              |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

--- a/gtts/tests/test_tts.py
+++ b/gtts/tests/test_tts.py
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 import os
 import pytest
-from mock import Mock
+from unittest.mock import Mock
 from six.moves import urllib
 
 from gtts.tts import gTTS, gTTSError
--- a/setup.cfg
+++ b/setup.cfg
@@ -45,7 +45,6 @@ tests =
   pytest-cov
   flake8
   testfixtures
-  mock
   six
 docs =
   sphinx
```

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index d6ad9a4..9529985 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -46,7 +46,6 @@ tests = [
     "pytest ~= 7.1.3",
     "pytest-cov",
     "testfixtures",
-    "mock"
 ]
 docs = [
     "sphinx",


Test patch:
diff --git a/gtts/tests/test_tts.py b/gtts/tests/test_tts.py
index 8764945..fa4248c 100644
--- a/gtts/tests/test_tts.py
+++ b/gtts/tests/test_tts.py
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 import os
 import pytest
-from mock import Mock
+from unittest.mock import Mock
 from six.moves import urllib
 
 from gtts.tts import gTTS, gTTSError