This is an automated email from the ASF dual-hosted git repository.

gsim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 13a6191  DISPATCH-1279: remove restriction from tests
13a6191 is described below

commit 13a619153e9f97e3ed4c60a4e1dc56fa0b6b843a
Author: Gordon Sim <g...@redhat.com>
AuthorDate: Wed Mar 6 16:21:21 2019 +0000

    DISPATCH-1279: remove restriction from tests
---
 tests/system_tests_http.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tests/system_tests_http.py b/tests/system_tests_http.py
index 70c87c4..4da09eb 100644
--- a/tests/system_tests_http.py
+++ b/tests/system_tests_http.py
@@ -113,10 +113,6 @@ class RouterTestHttp(TestCase):
         self.assertTrue(exception_occurred)
 
     def test_http_get(self):
-
-        if not sys.version_info >= (2, 9):
-            return
-
         config = Qdrouterd.Config([
             ('router', {'id': 'QDR.HTTP'}),
             # httpRoot has been deprecated. We are using it here to test 
backward compatibility.
@@ -150,9 +146,6 @@ class RouterTestHttp(TestCase):
         self.assertRaises(URLError, urlopen, "https://localhost:%d/nosuch"; % 
r.ports[0])
 
     def test_https_get(self):
-        if not sys.version_info >= (2, 9):
-            return
-
         def listener(**kwargs):
             args = dict(kwargs)
             args.update({'port': self.get_port(), 'httpRootDir': 
os.path.dirname(__file__)})


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to