[med-svn] [Git][python-team/packages/python-xopen][master] 2 commits: Add patch to increase timeout for tests to work on slower archs (Closes: #1027485)
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Sun Jan 8 17:06:18 GMT 2023
Nilesh Patra pushed to branch master at Debian Python Team / packages / python-xopen
Commits:
59371583 by Nilesh Patra at 2023-01-08T22:30:51+05:30
Add patch to increase timeout for tests to work on slower archs (Closes: #1027485)
- - - - -
80ef961c by Nilesh Patra at 2023-01-08T22:31:20+05:30
Upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/increase-timeout.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-xopen (1.7.0-2) unstable; urgency=high
+
+ * Add patch to increase timeout for tests to work on
+ slower archs (Closes: #1027485)
+
+ -- Nilesh Patra <nilesh at debian.org> Sun, 08 Jan 2023 22:30:58 +0530
+
python-xopen (1.7.0-1) unstable; urgency=medium
[ Andreas Tille ]
=====================================
debian/patches/increase-timeout.patch
=====================================
@@ -0,0 +1,41 @@
+Description: Increase timeouts for tests so they work on slower architectures
+Author: Nilesh Patra <nilesh at debian.org>
+Last-Update: 2023-01-08
+--- a/tests/test_xopen.py
++++ b/tests/test_xopen.py
+@@ -293,7 +293,7 @@
+ assert appended == reference
+
+
+- at pytest.mark.timeout(5)
++ at pytest.mark.timeout(15)
+ @pytest.mark.parametrize("extension", [".gz", ".bz2", ".xz"])
+ def test_truncated_file(extension, create_truncated_file):
+ truncated_file = create_truncated_file(extension)
+@@ -303,7 +303,7 @@
+ f.close() # pragma: no cover
+
+
+- at pytest.mark.timeout(5)
++ at pytest.mark.timeout(15)
+ @pytest.mark.parametrize("extension", [".gz", ".bz2", ".xz"])
+ def test_truncated_iter(extension, create_truncated_file):
+ truncated_file = create_truncated_file(extension)
+@@ -314,7 +314,7 @@
+ f.close() # pragma: no cover
+
+
+- at pytest.mark.timeout(5)
++ at pytest.mark.timeout(15)
+ @pytest.mark.parametrize("extension", [".gz", ".bz2", ".xz"])
+ def test_truncated_with(extension, create_truncated_file):
+ truncated_file = create_truncated_file(extension)
+@@ -323,7 +323,7 @@
+ f.read()
+
+
+- at pytest.mark.timeout(5)
++ at pytest.mark.timeout(15)
+ @pytest.mark.parametrize("extension", [".gz", ".bz2", ".xz"])
+ def test_truncated_iter_with(extension, create_truncated_file):
+ truncated_file = create_truncated_file(extension)
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+increase-timeout.patch
View it on GitLab: https://salsa.debian.org/python-team/packages/python-xopen/-/compare/aa9ac8cf97481444e90c7dff14eee4d2f1be98b1...80ef961c15f1509a748c65bf7499a778938e4909
--
View it on GitLab: https://salsa.debian.org/python-team/packages/python-xopen/-/compare/aa9ac8cf97481444e90c7dff14eee4d2f1be98b1...80ef961c15f1509a748c65bf7499a778938e4909
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230108/f0a12de3/attachment-0001.htm>
More information about the debian-med-commit
mailing list