Repository: trafficserver Updated Branches: refs/heads/master 40b830e9d -> 70f464387
Correctly raise SkipTest if hyper is not present Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1e0ae285 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1e0ae285 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1e0ae285 Branch: refs/heads/master Commit: 1e0ae2852e32c573621a678a7f7e0bd6f241166c Parents: 40b830e Author: Thomas Jackson <[email protected]> Authored: Fri Aug 28 18:29:50 2015 -0700 Committer: Thomas Jackson <[email protected]> Committed: Fri Aug 28 18:29:54 2015 -0700 ---------------------------------------------------------------------- ci/tsqa/tests/test_http2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1e0ae285/ci/tsqa/tests/test_http2.py ---------------------------------------------------------------------- diff --git a/ci/tsqa/tests/test_http2.py b/ci/tsqa/tests/test_http2.py index 732df6c..075f00a 100644 --- a/ci/tsqa/tests/test_http2.py +++ b/ci/tsqa/tests/test_http2.py @@ -24,8 +24,8 @@ import tsqa.utils try: import hyper -except ImportError as e: - helpers.unittest.SkipTest('Cannot import hyper, skipping tests for HTTP/2') +except ImportError: + raise helpers.unittest.SkipTest('Cannot import hyper, skipping tests for HTTP/2') log = logging.getLogger(__name__)
