[Lsb-messages] /var/www/bzr/lsb/4.0/python-test r48: Backport patch for bug 3320 from devel
Stew Benedict
stewb at linux-foundation.org
Sun May 13 16:04:14 UTC 2012
------------------------------------------------------------
revno: 48
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: python-test
timestamp: Sun 2012-05-13 12:04:14 -0400
message:
Backport patch for bug 3320 from devel
added:
scripts/package/python-test-bug-3320.patch
modified:
scripts/package/lsb-test-python.spec
-------------- next part --------------
=== modified file 'scripts/package/lsb-test-python.spec'
--- a/scripts/package/lsb-test-python.spec 2012-03-12 15:51:59 +0000
+++ b/scripts/package/lsb-test-python.spec 2012-05-13 16:04:14 +0000
@@ -28,6 +28,7 @@
Patch10: python-test-bug-3024.patch
Patch11: python-test-bug-3115.patch
Patch12: python-test-bug-3286.patch
+Patch13: python-test-bug-3320.patch
URL: http://www.linuxbase.org/test
#Prefix: %{_prefix}
@@ -60,6 +61,7 @@
%patch10 -p2 -b .bug-3024
%patch11 -p3 -b .bug-3115
%patch12 -p2 -b .bug-3286
+%patch13 -p2 -b .bug-3320
popd
pushd Python-%{pversion4}/Lib
%patch9 -p2 -b .bug-2952
@@ -251,7 +253,7 @@
# clean up the patch backup files
for backup in tet-output system-python new-behavior testcapi \
26 bug-2595 26-deprecation bug-2781 bug-2945 bug-2952 \
- bug-3024 bug-3115 bug-3286;do
+ bug-3024 bug-3115 bug-3286 bug-3320;do
find . -name "*.$backup" | xargs rm -f
done
popd
@@ -276,6 +278,9 @@
#==================================================
%changelog
+* Wed May 09 2012 Stew Benedict <stewb at linux-foundation.org>
+- disable 2 subtests in test_csv.py (bug 3320, P13)
+
* Mon Mar 12 2012 Stew Benedict <stewb at linux-foundation.org>
- disable test_unicode subtest (bug 3286, P12)
=== added file 'scripts/package/python-test-bug-3320.patch'
--- a/scripts/package/python-test-bug-3320.patch 1970-01-01 00:00:00 +0000
+++ b/scripts/package/python-test-bug-3320.patch 2012-05-13 16:04:14 +0000
@@ -0,0 +1,21 @@
+diff -up ./Lib/test/test_csv.py.bug-3320 ./Lib/test/test_csv.py
+--- ./Lib/test/test_csv.py.bug-3320 2012-05-09 14:05:45.407267289 -0400
++++ ./Lib/test/test_csv.py 2012-05-09 14:08:09.478267350 -0400
+@@ -719,6 +719,8 @@ class TestArrayWrites(unittest.TestCase)
+ os.unlink(name)
+
+ def test_double_write(self):
++ # fails with 2.7.3+ - upstream now uses repr instead of str (bug 3320)
++ return
+ import array
+ contents = [(20-i)*0.1 for i in range(20)]
+ a = array.array('d', contents)
+@@ -735,6 +737,8 @@ class TestArrayWrites(unittest.TestCase)
+ os.unlink(name)
+
+ def test_float_write(self):
++ # fails with 2.7.3+ - upstream now uses repr instead of str (bug 3320)
++ return
+ import array
+ contents = [(20-i)*0.1 for i in range(20)]
+ a = array.array('f', contents)
More information about the lsb-messages
mailing list