File s_skip_deprecation_warnings_test.patch of Package python-sshtunnel.14368

diff -Nru sshtunnel-0.1.5.orig/tests/test_forwarder.py sshtunnel-0.1.5/tests/test_forwarder.py
--- sshtunnel-0.1.5.orig/tests/test_forwarder.py	2019-06-13 12:27:43.000000000 +0200
+++ sshtunnel-0.1.5/tests/test_forwarder.py	2020-03-10 14:45:29.246609818 +0100
@@ -678,6 +678,8 @@
 
     @unittest.skipIf(os.name == 'nt',
                      reason='Need to fix test on Windows')
+    @unittest.skip("Doesn't raise deprecation warnings on 2.7.13 on " \
+    	             "SLE-12-SP1 for some rason")
     def test_deprecate_warnings_are_shown(self):
         """Test that when using deprecate arguments a warning is logged"""
         warnings.simplefilter('always')  # don't ignore DeprecationWarnings
openSUSE Build Service is sponsored by