aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2012-11-09 03:16:33 +0000
committerDaniele Tricoli <eriol@mornie.org>2012-11-09 03:16:33 +0000
commit052e218269d5b318da94b94e36204a4229a61a84 (patch)
treecede931d1a95de337a11e7f4ea280a788aa2eed3 /debian
parenta1e3ebdf80fa969017f7197933e160b62b132966 (diff)
downloadpython-urllib3-052e218269d5b318da94b94e36204a4229a61a84.tar
python-urllib3-052e218269d5b318da94b94e36204a4229a61a84.tar.gz
Run tests only for python2.7 since upstream is using assertRaises() as a context manager
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/rules7
2 files changed, 9 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 7616136..19da4cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
python-urllib3 (1.5-1) UNRELEASED; urgency=low
* New upstream release
+ * debian/patches/01_do-not-use-embedded-python-six.patch
+ - Refreshed
+ * debian/rules
+ - Run tests only for python2.7 since upstream is using
+ assertRaises() as a context manager
- -- Daniele Tricoli <eriol@mornie.org> Fri, 09 Nov 2012 01:22:43 +0100
+ -- Daniele Tricoli <eriol@mornie.org> Fri, 09 Nov 2012 04:15:52 +0100
python-urllib3 (1.3-3) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 6207fb9..e2ed423 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,10 +43,9 @@ override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Python3 testing is not possible at the moment because missing
# dependencies: python3-coverage.
- set -ex; \
- for python in $(PYVERS); do \
- $$python /usr/bin/nosetests; \
- done
+ # Upstream is using a python2.7 features: assertRaises() as a context
+ # manager
+ set -ex; python2.7 /usr/bin/nosetests
endif
override_dh_installchangelogs: