File: 0001-Skip-tests-requiring-internet.patch

package info (click to toggle)
metpy 1.7.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,584 kB
  • sloc: python: 41,853; makefile: 111; javascript: 57
file content (25 lines) | stat: -rw-r--r-- 852 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sun, 16 Jul 2023 14:38:19 +0000
Subject: Skip tests requiring internet

Forwarded: not-needed
---
 tests/io/test_nexrad.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/io/test_nexrad.py b/tests/io/test_nexrad.py
index 2ab1bb0..71a3dd3 100644
--- a/tests/io/test_nexrad.py
+++ b/tests/io/test_nexrad.py
@@ -139,8 +139,9 @@ def test_build19_level2_additions():
 #
 # NIDS/Level 3 Tests
 #
-nexrad_nids_files = [get_test_data(fname, as_file_obj=False)
-                     for fname in POOCH.registry if fname.startswith('nids/')]
+# nexrad_nids_files = [get_test_data(fname, as_file_obj=False)
+#                      for fname in POOCH.registry if fname.startswith('nids/')]
+nexrad_nids_files = []
 
 
 @pytest.mark.parametrize('fname', nexrad_nids_files)