tests: handle missing ECCD results
This commit is contained in:
parent
2d16617db8
commit
b0674c2d9b
@ -83,6 +83,9 @@ class GrayTest:
|
||||
ref = load_unit(self.reference / 'fort.7')
|
||||
cand = load_unit(self.candidate / 'fort.7')
|
||||
|
||||
if ref.size == 0 or cand.size == 0:
|
||||
raise unittest.SkipTest("ECCD results not available")
|
||||
|
||||
# precision as number of decimal places
|
||||
prec = defaultdict(lambda: 3, [
|
||||
('dPdVp', -2), ('dPdVmx', -2),
|
||||
|
Loading…
Reference in New Issue
Block a user