Skip to content

Commit 03346f7

Browse files
committed
addressing pylint suggestions
1 parent 8737aed commit 03346f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_aero_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ def test_spec_by_name_found():
3333

3434
#assert
3535
assert value == 0
36-
36+
3737
@staticmethod
3838
def test_spec_by_name_not_found():
3939
#arrange
4040
sut = ppmc.AeroData(AERO_DATA_CTOR_ARG_MINIMAL)
4141

4242
#act and assert
4343
try:
44-
value = sut.spec_by_name("XXX")
44+
_ = sut.spec_by_name("XXX")
4545
assert False
46-
except RuntimeError as e:
47-
assert str(e) == "Element not found."
46+
except RuntimeError as error:
47+
assert str(error) == "Element not found."

0 commit comments

Comments
 (0)