Skip to content

Commit e935ee1

Browse files
committed
f
1 parent d62d48c commit e935ee1

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/bald/tests/integration/test_cdl_rdfgraph.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,6 @@ def test_array_reference_with_baseuri(self):
6969
expected_rdfgraph.parse(sf, format='n3')
7070
self.check_result(rdfgraph, expected_rdfgraph)
7171

72-
# def test_array_reference_external_prefix(self):
73-
# with self.temp_filename('.nc') as tfile:
74-
# cdlname = 'array_reference_external_prefix.cdl'
75-
# cdl_file = os.path.join(self.cdl_path, cdlname)
76-
# subprocess.check_call(['ncgen', '-o', tfile, cdl_file])
77-
# cdl_file_uri = 'file://CDL/{}'.format(cdlname)
78-
# root_container = bald.load_netcdf(tfile, baseuri=cdl_file_uri, cache=self.acache)
79-
# rdfgraph = root_container.rdfgraph()
80-
# ttl = rdfgraph.serialize(format='n3').decode("utf-8")
81-
# if os.environ.get('bald_update_results') is not None:
82-
# with open(os.path.join(self.ttl_path, 'array_reference_external_prefix.ttl'), 'w') as sf:
83-
# sf.write(ttl)
84-
# with open(os.path.join(self.ttl_path, 'array_reference_external_prefix.ttl'), 'r') as sf:
85-
# expected_rdfgraph = rdflib.Graph()
86-
# expected_rdfgraph.parse(sf, format='n3')
87-
# self.check_result(rdfgraph, expected_rdfgraph)
88-
8972
def test_array_reference_external_prefix_context(self):
9073
with self.temp_filename('.nc') as tfile:
9174
cdlname = 'array_reference_external_prefix_context.cdl'
@@ -102,8 +85,6 @@ def test_array_reference_external_prefix_context(self):
10285
if os.environ.get('bald_update_results') is not None:
10386
with open(os.path.join(self.ttl_path, 'array_reference_external_prefix_context.ttl'), 'w') as sf:
10487
sf.write(ttl)
105-
with open(os.path.join(self.ttl_path, 'out_array_reference_external_prefix_context.ttl'), 'w') as sf:
106-
sf.write(ttl)
10788
with open(os.path.join(self.ttl_path, 'array_reference_external_prefix_context.ttl'), 'r') as sf:
10889
expected_rdfgraph = rdflib.Graph()
10990
expected_rdfgraph.parse(sf, format='n3')

0 commit comments

Comments
 (0)