[Python-modules-commits] r24356 - in packages/pytest/trunk/debian (3 files)
laarmen-guest at users.alioth.debian.org
laarmen-guest at users.alioth.debian.org
Tue May 14 10:39:26 UTC 2013
Date: Tuesday, May 14, 2013 @ 10:39:24
Author: laarmen-guest
Revision: 24356
Patch the tests to restore the permissions of the tmpdir used in tests
Added:
packages/pytest/trunk/debian/patches/reset-tmpdir-mode
Modified:
packages/pytest/trunk/debian/changelog
packages/pytest/trunk/debian/patches/series
Modified: packages/pytest/trunk/debian/changelog
===================================================================
--- packages/pytest/trunk/debian/changelog 2013-05-13 21:13:05 UTC (rev 24355)
+++ packages/pytest/trunk/debian/changelog 2013-05-14 10:39:24 UTC (rev 24356)
@@ -7,6 +7,7 @@
* New upstream version (Closes: #707151)
* B-D on debhelper 8.1 to conform to Policy 3.9.4
* Add DEP-8 tests (Closes: #702121)
+ * Patch the tests to restore the permissions of the tmpdir used in tests
-- Simon Chopin <chopin.simon at gmail.com> Tue, 07 May 2013 16:46:30 +0200
Added: packages/pytest/trunk/debian/patches/reset-tmpdir-mode
===================================================================
--- packages/pytest/trunk/debian/patches/reset-tmpdir-mode (rev 0)
+++ packages/pytest/trunk/debian/patches/reset-tmpdir-mode 2013-05-14 10:39:24 UTC (rev 24356)
@@ -0,0 +1,13 @@
+--- a/testing/test_assertrewrite.py
++++ b/testing/test_assertrewrite.py
+@@ -347,7 +347,9 @@
+ assert "@py_builtins" in globals()
+ """).encode("utf-8"), "wb")
+ sub.chmod(320)
+- assert testdir.runpytest().ret == 0
++ ret = testdir.runpytest().ret
++ sub.chmod(700)
++ assert ret == 0
+
+ def test_dont_write_bytecode(self, testdir, monkeypatch):
+ testdir.makepyfile("""
Modified: packages/pytest/trunk/debian/patches/series
===================================================================
--- packages/pytest/trunk/debian/patches/series 2013-05-13 21:13:05 UTC (rev 24355)
+++ packages/pytest/trunk/debian/patches/series 2013-05-14 10:39:24 UTC (rev 24356)
@@ -1 +1,2 @@
+reset-tmpdir-mode
remove_google_js
More information about the Python-modules-commits
mailing list