Skip to content

Commit

Permalink
ci: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 20, 2020
1 parent aecec3f commit f6001d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ environment:
secure: Ry77Jz+ZhUApoPN/x3oOxDjDWhDXYwWCakp7ak0uiDExS97/wqVpZ5PZzKq3Liof
PYPI_USR: ci_afm
matrix:
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python38-x64"

install:
Expand Down
6 changes: 4 additions & 2 deletions tests/test_model_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def test_model_parameter_names():
md = model.models_available[key]
for key2, nn in zip(md.parameter_keys, md.parameter_names):
if key2 in NAME_MAPPING:
assert nn in NAME_MAPPING[key2], "bad {} in {}".format(key2, md)
assert nn in NAME_MAPPING[key2], "bad {} in {}".format(
key2, md)
else:
msg = "Parameter {} not registered for test!".format(key2)
assert False, msg
Expand All @@ -45,7 +46,8 @@ def test_model_parameter_units():
md = model.models_available[key]
for key2, un in zip(md.parameter_keys, md.parameter_units):
if key2 in UNIT_MAPPING:
assert UNIT_MAPPING[key2] == un, "bad {} in {}".format(key2, md)
assert UNIT_MAPPING[key2] == un, "bad {} in {}".format(
key2, md)
else:
msg = "Parameter {} not registered for test!".format(key2)
assert False, msg
Expand Down

0 comments on commit f6001d6

Please sign in to comment.