Accepting request 575768 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/575768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2018-02-15 12:19:34 +00:00 committed by Git OBS Bridge
commit a65e3ac77e
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 12 12:14:42 UTC 2018 - normand@linux.vnet.ibm.com
- disable more flaky tests specifically for PowerPC
-------------------------------------------------------------------
Sun Dec 31 14:39:03 UTC 2017 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package python-urllib3
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -84,6 +84,13 @@ Highlights
%python_install
%check
skiplist='not test_select_interrupt_exception and not test_selector_error and not timeout'
case $(uname -m) in
ppc*)
skiplist="$skiplist and not test_select_timing and not test_select_multiple_interrupts_with_event and not test_interrupt_wait_for_read_with_event and not test_select_interrupt_with_event";;
esac
rm -rf build
# pretend to be TRAVIS (this triggers timing tolerance)
export TRAVIS=1
@ -91,7 +98,7 @@ export TRAVIS=1
--ignore=test/appengine \
--ignore=test/with_dummyserver/test_proxy_poolmanager.py \
--ignore=test/with_dummyserver/test_poolmanager.py \
-k 'not test_select_interrupt_exception and not test_selector_error and not timeout' \
-k "${skiplist}" \
urllib3 test}
%files %{python_files}