Skip to content

Commit 8c375d9

Browse files
committed
[GEOPY-2561] disable pylint false positive
1 parent 6ede14f commit 8c375d9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/run_tests/driver_dc_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ def test_dc_3d_run(
127127

128128
driver = DC3DInversionDriver.start(str(tmp_path / "Inv_run.ui.json"))
129129
# Should not be auto-scaling
130-
np.testing.assert_allclose(driver.data_misfit.multipliers, [1, 1, 1])
130+
np.testing.assert_allclose(
131+
driver.data_misfit.multipliers, # pylint: disable=no-member ## cannot infer start() return type)
132+
[1, 1, 1],
133+
)
131134
output = get_inversion_output(
132135
driver.params.geoh5.h5file, driver.params.out_group.uid
133136
)

0 commit comments

Comments
 (0)