[netcdf4-python] 02/02: Update no-online-tests.patch and mark as Applied-Upstream.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Jun 5 12:27:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository netcdf4-python.
commit b156f19177fb55a1c681b4a26569ea5820f68071
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Jun 5 14:27:32 2015 +0200
Update no-online-tests.patch and mark as Applied-Upstream.
---
debian/patches/no-online-tests.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/patches/no-online-tests.patch b/debian/patches/no-online-tests.patch
index b4c321c..8901b16 100644
--- a/debian/patches/no-online-tests.patch
+++ b/debian/patches/no-online-tests.patch
@@ -1,6 +1,7 @@
Description: Don't run tests that require network connectivity if NO_NET is set.
Author: Bas Couwenberg <sebastic at debian.org>
Forwarded: https://github.com/Unidata/netcdf4-python/pull/428
+Applied-Upstream: https://github.com/Unidata/netcdf4-python/commit/97b756ed70ff77c3042263e900b36565276781c5
--- a/test/run_all.py
+++ b/test/run_all.py
@@ -9,7 +10,7 @@ Forwarded: https://github.com/Unidata/netcdf4-python/pull/428
sys.stdout.write('not running tst_diskless.py ...\n')
+# Don't run tests that require network connectivity
-+if os.environ['NO_NET']:
++if os.getenv('NO_NET'):
+ test_files.remove('tst_dap.py');
+ sys.stdout.write('not running tst_dap.py ...\n')
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf4-python.git
More information about the Pkg-grass-devel
mailing list