[Python-modules-commits] [python-social-auth] 18/71: Remove python3.5 (openid breaks), silence pypy warings
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:14:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.14
in repository python-social-auth.
commit c4ea47ce54d0ce13f7e65637363645c7b8b84618
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date: Mon Oct 5 10:29:52 2015 -0300
Remove python3.5 (openid breaks), silence pypy warings
---
.travis.yml | 4 ----
social/tests/__init__.py | 3 ++-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 87d86c1..fc67088 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,10 +20,6 @@ matrix:
env:
- REQUIREMENTS=requirements-python3.txt
- TEST_REQUIREMENTS=social/tests/requirements-python3.txt
- - python: "3.5"
- env:
- - REQUIREMENTS=requirements-python3.txt
- - TEST_REQUIREMENTS=social/tests/requirements-python3.txt
addons:
apt:
packages:
diff --git a/social/tests/__init__.py b/social/tests/__init__.py
index 3dee975..db503e8 100644
--- a/social/tests/__init__.py
+++ b/social/tests/__init__.py
@@ -4,5 +4,6 @@ import warnings
# Ignore deprecation warnings on Python2.6. Maybe it's time to ditch this
# oldie?
-if sys.version_info[0] == 2 and sys.version_info[1] == 6:
+if sys.version_info[0] == 2 and sys.version_info[1] == 6 or
+ hasattr(sys, 'pypy_version_info'):
warnings.filterwarnings('ignore', category=Warning)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git
More information about the Python-modules-commits
mailing list