Skip to content

Commit 9ff02f0

Browse files
committedMay 21, 2022
making pylint happier
1 parent aec6b74 commit 9ff02f0

5 files changed

+5
-3
lines changed
 

‎tests/test_aero_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_ctor():
2222
@staticmethod
2323
def test_dtor():
2424
# arrange
25-
sut = ppmc.AeroData()
25+
sut = ppmc.AeroData() # pylint: disable=unused-variable
2626

2727
# act
2828
sut = None

‎tests/test_env_state.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_ctor():
2323
@staticmethod
2424
def test_dtor():
2525
# arrange
26-
sut = ppmc.EnvState()
26+
sut = ppmc.EnvState() # pylint: disable=unused-variable
2727

2828
# act
2929
sut = None

‎tests/test_examples.py

+1
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ def test_run_notebooks(notebook_filename, tmp_path):
6464
warnings.filterwarnings("ignore", message="There is no current event loop")
6565
executor.preprocess(notebook, {"metadata": {"path": tmp_path}})
6666

67+
# so that nbconvert perplexities are reported here, and not at some dtor test later on
6768
gc.collect()
6869

‎tests/test_gas_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_ctor():
2323
@staticmethod
2424
def test_dtor():
2525
# arrange
26-
sut = ppmc.GasData(("SO2",))
26+
sut = ppmc.GasData(("SO2",)) # pylint: disable=unused-variable
2727

2828
# act
2929
sut = None

‎tests/test_scenario.py

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def test_dtor():
9090
# arrange
9191
aero_data = ppmc.AeroData()
9292
gas_data = ppmc.GasData(GAS_DATA_CTOR_ARG_MINIMAL)
93+
# pylint: disable=unused-variable
9394
sut = ppmc.Scenario(gas_data, aero_data, SCENARIO_CTOR_ARG_MINIMAL)
9495

9596
# act

0 commit comments

Comments
 (0)