[Python-modules-commits] [python-pyld] 188/276: Use default document loader for remote document tests.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyld.

commit 23a2d8f0bb9b81f3b632c0d0885198e28814c193
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Tue Sep 10 13:21:18 2013 -0400

    Use default document loader for remote document tests.
---
 tests/runtests.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/runtests.py b/tests/runtests.py
index 74360bf..75fd068 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -292,9 +292,9 @@ def create_document_loader(test):
 
     def local_loader(url):
         # always load remote-doc and non-base tests remotely
-        #if (not url.startswith(base) or
-        #    test.manifest.data.get('name') == 'Remote document'):
-        #    return loader(url)
+        if (not url.startswith(base) or
+            test.manifest.data.get('name') == 'Remote document'):
+            return loader(url)
 
         # attempt to load locally
         return load_locally(url)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list