From 76b0c958a5e92e25779c60b5f5f9af8a6e7440c8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 05 2018 16:53:36 +0000 Subject: Fix running the py3 tests using runtests3.sh Signed-off-by: Pierre-Yves Chibon --- diff --git a/tests/test_stream_server.py b/tests/test_stream_server.py index 70f8ac5..ba77e9c 100644 --- a/tests/test_stream_server.py +++ b/tests/test_stream_server.py @@ -29,6 +29,9 @@ sys.path.insert(0, os.path.join(os.path.dirname( sys.path.insert(0, os.path.join(os.path.dirname( os.path.abspath(__file__)), '../pagure-ev')) +if six.PY3: + raise unittest.case.SkipTest('Skipping on python3') + import pagure # pylint: disable=wrong-import-position from pagure.exceptions import PagureEvException # pylint: disable=wrong-import-position import tests # pylint: disable=wrong-import-position