[Python-modules-commits] [python-blessed] 02/08: merge patched into master

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Sun Dec 31 12:37:09 UTC 2017


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

peb-guest pushed a commit to branch master
in repository python-blessed.

commit 56e840736f4c31a827e864837df836817865dcfe
Merge: 6bddb78 86299fc
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Sun Dec 31 13:15:15 2017 +0100

    merge patched into master

 blessed/tests/test_keyboard.py                     |  1 -
 debian/.git-dpm                                    |  4 ++--
 ...-time-based-assertion-when-timeout-is-0-i.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 4 files changed, 29 insertions(+), 3 deletions(-)

diff --cc debian/.git-dpm
index f47a7a9,0000000..892898f
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- fe6c0dbd3b113c06f9364a1f2ad53a7266e2fccf
- fe6c0dbd3b113c06f9364a1f2ad53a7266e2fccf
++86299fc51791ee29c36c7fba488e1429fe8e73df
++86299fc51791ee29c36c7fba488e1429fe8e73df
 +fe6c0dbd3b113c06f9364a1f2ad53a7266e2fccf
 +fe6c0dbd3b113c06f9364a1f2ad53a7266e2fccf
 +python-blessed_1.14.1.orig.tar.gz
 +26be42cd186992c51896349927c9fa82580e2cec
 +82125
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-Removes-the-time-based-assertion-when-timeout-is-0-i.patch
index 0000000,0000000..526e3ba
new file mode 100644
--- /dev/null
+++ b/debian/patches/0001-Removes-the-time-based-assertion-when-timeout-is-0-i.patch
@@@ -1,0 -1,0 +1,26 @@@
++From 86299fc51791ee29c36c7fba488e1429fe8e73df Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= <becue at crans.org>
++Date: Sun, 31 Dec 2017 13:12:44 +0100
++Subject: Removes the time based assertion when timeout is 0 in
++ test_keyboard.py
++
++ * Expecting the duration time for the test to be between 34 and 45 ms
++   is hardware-dependant, and so irrelevant for real conditions testing.
++   The previous assertion expects that the test takes less than 1 second
++   which is really reasonable.
++---
++ blessed/tests/test_keyboard.py | 1 -
++ 1 file changed, 1 deletion(-)
++
++diff --git a/blessed/tests/test_keyboard.py b/blessed/tests/test_keyboard.py
++index 9df528d..d4f5a75 100644
++--- a/blessed/tests/test_keyboard.py
+++++ b/blessed/tests/test_keyboard.py
++@@ -459,7 +459,6 @@ def test_esc_delay_cbreak_035():
++     assert key_name == u'KEY_ESCAPE'
++     assert os.WEXITSTATUS(status) == 0
++     assert math.floor(time.time() - stime) == 0.0
++-    assert 34 <= int(duration_ms) <= 45, duration_ms
++ 
++ 
++ @pytest.mark.skipif(os.environ.get('TEST_QUICK', None) is not None,
diff --cc debian/patches/series
index 0000000,0000000..8a70286
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++0001-Removes-the-time-based-assertion-when-timeout-is-0-i.patch

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



More information about the Python-modules-commits mailing list