[Python-modules-commits] [keyrings.alt] 01/01: Add tests/test_file.py to ignore list for Python 2.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Mar 27 18:28:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository keyrings.alt.

commit 8b5693e6a3149aaa378d17f703823e35d549e0aa
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Mon Mar 27 21:28:01 2017 +0300

    Add tests/test_file.py to ignore list for Python 2.
    
    To avoid dependency on backports.unittest_mock.
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c7509d7..3ff1210 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ keyrings.alt (2.2-1) UNRELEASED; urgency=medium
   * Add dependency on python[3]-six, following upstream.
   * Drop dependency on python[3]-kde4, the KWallet 4 backend is now part
     of main python-keyring package.
+  * Add tests/test_file.py to ignore list for Python 2, to avoid dependency
+    on backports.unittest_mock.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Mon, 27 Mar 2017 20:44:21 +0300
 
diff --git a/debian/rules b/debian/rules
index 030f43a..ab5a6c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 #DH_VERBOSE=1
 
 export PYBUILD_NAME=keyrings.alt
-export PYBUILD_TEST_ARGS_python2=--ignore=keyrings/alt/_win_crypto.py --ignore=tests/test_crypto.py
+export PYBUILD_TEST_ARGS_python2=--ignore=keyrings/alt/_win_crypto.py --ignore=tests/test_crypto.py --ignore=tests/test_file.py
 export PYBUILD_TEST_ARGS_python3=--ignore=keyrings/alt/_win_crypto.py
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/keyrings.alt.git



More information about the Python-modules-commits mailing list