summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-13 12:07:42 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-13 12:07:42 +0000
commit2d69fa4eb53548b162c2b4d4bd50184d60f70173 (patch)
tree34fee88d27c62acb90a9369dff4f8abde1f17844 /dev-python/reportlab/files/2.1-test_no_network.patch
parentAdded pygments to DEPEND when doc USE is set, thanks to Jan-Matthias (diff)
downloadgentoo-2-2d69fa4eb53548b162c2b4d4bd50184d60f70173.tar.gz
gentoo-2-2d69fa4eb53548b162c2b4d4bd50184d60f70173.tar.bz2
gentoo-2-2d69fa4eb53548b162c2b4d4bd50184d60f70173.zip
Added patch to remove a test that requires network access. Thanks to Víctor
Enríquez, #219927. Quoting. (Portage version: 2.1.5_rc10)
Diffstat (limited to 'dev-python/reportlab/files/2.1-test_no_network.patch')
-rw-r--r--dev-python/reportlab/files/2.1-test_no_network.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/reportlab/files/2.1-test_no_network.patch b/dev-python/reportlab/files/2.1-test_no_network.patch
new file mode 100644
index 000000000000..d3b6548362ab
--- /dev/null
+++ b/dev-python/reportlab/files/2.1-test_no_network.patch
@@ -0,0 +1,14 @@
+--- test/test_lib_utils.py 2008-05-13 14:57:23.350829336 +0300
++++ test/test_lib_utils.py 2008-05-13 14:57:33.962839567 +0300
+@@ -95,11 +95,6 @@
+ from reportlab.lib.utils import open_and_read
+ b = open_and_read('file:../docs/images/Edit_Prefs.gif')
+
+- def test9(self):
+- "test open and read of an http: URL"
+- from reportlab.lib.utils import open_and_read
+- b = open_and_read('http://www.reportlab.com/rsrc/encryption.gif')
+-
+ def test10(self):
+ "test open and read of a simple relative file"
+ from reportlab.lib.utils import open_and_read, getStringIO