File tldextract-tests-offline.patch of Package python-tldextract

diff -ru tldextract-2.2.1.orig/tests/integration_test.py tldextract-2.2.1/tests/integration_test.py
--- tldextract-2.2.1.orig/tests/integration_test.py	2016-04-04 04:11:18.000000000 +0200
+++ tldextract-2.2.1/tests/integration_test.py	2019-03-10 21:25:34.201039604 +0100
@@ -8,24 +8,6 @@
 
 import tldextract
 
-
-def test_log_snapshot_diff(mocker):
-    mocker.patch.object(logging.getLogger(), 'level', logging.DEBUG)
-    debug_mock = mocker.patch.object(logging.getLogger('tldextract'), 'debug')
-
-    extractor = tldextract.TLDExtract()
-    try:
-        os.remove(extractor.cache_file)
-    except (IOError, OSError):
-        logging.warning(traceback.format_exc())
-
-    extractor('ignore.com')
-
-    assert debug_mock.call_count == 1
-    log_str = debug_mock.call_args[0][0]
-    assert log_str.startswith('computed TLD diff')
-
-
 def test_bad_kwargs():
     with pytest.raises(ValueError):
         tldextract.TLDExtract(
openSUSE Build Service is sponsored by