[Python-modules-commits] [python-textile] 05/11: Skip a test that requires access to www.google.com.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Mon Dec 14 16:30:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository python-textile.
commit 19b43db38fcae8b47272258ef630ea8918af8bf9
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Mon Dec 14 19:21:41 2015 +0300
Skip a test that requires access to www.google.com.
---
textile/tests/__init__.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/textile/tests/__init__.py b/textile/tests/__init__.py
index 9b2d4d9..7cf8c82 100644
--- a/textile/tests/__init__.py
+++ b/textile/tests/__init__.py
@@ -482,10 +482,7 @@ class Tests():
eq_(result, expect)
def testImageSize(self):
- try:
- __import__('PIL')
- except ImportError:
- raise SkipTest()
+ raise SkipTest("Requires network access")
test = "!http://www.google.com/intl/en_ALL/images/srpr/logo1w.png!"
result = '\t<p><img alt="" height="95" src="http://www.google.com/intl/en_ALL/images/srpr/logo1w.png" width="275" /></p>'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-textile.git
More information about the Python-modules-commits
mailing list