-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python-gTTS to version 2.2.4 / rev 8 via SR 963733
https://build.opensuse.org/request/show/963733 by user mcepl + dimstar_suse - Make tests working at least a little bit. Requires two new patches: - demock.patch (gh#pndurette/gTTS#343) - network-tests.patch (gh#pndurette/gTTS#344) - version update to 2.2.4 2.2.4 (2022-03-14) ------------------ Features ~~~~~~~ - Added Malay language support (`#316 <https://github.com/pndurette/gTTS/issues/316>`_) - Added Hebrew language support (`#324 <https://github.com/pndurette/gTTS/issues/324>`_) - Added new ``gTTS.stream()`` method to stream bytes (`#319 <https://github.com/pndurette/gTTS/issues/319>`_) Misc ~~~ - `#334 <https://github.com/pndurette/gTTS/issues/334>`_ 2.2.3 (2021-06-17) ------------------ Features ~~~~~~~ - Added Bulgarian language support (`#302 <https://github.com/pndurette/gTTS/issues/302>`_) 2.2.2 (2021-02-03) --------
- Loading branch information
1 parent
152b85d
commit ccde706
Showing
8 changed files
with
151 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/ipfs/bafkreihaw2ep653zfcx6fagdz5gtnpd3pfhjh2dikg3ibvklul5wr2eeky |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
gtts/tests/test_tts.py | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
--- a/gtts/tests/test_tts.py | ||
+++ b/gtts/tests/test_tts.py | ||
@@ -84,6 +84,7 @@ def test_no_text_parts(tmp_path): | ||
# Test write_to_fp()/save() cases not covered elsewhere in this file | ||
|
||
|
||
+@pytest.mark.net | ||
def test_bad_fp_type(): | ||
"""Raise TypeError if fp is not a file-like object (no .write())""" | ||
# Create gTTS and save |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters