Skip to content

Commit c1e8b03

Browse files
use py38-compatible dict unpacking syntax (** instead of |)
1 parent d43bcae commit c1e8b03

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/geophires_x_tests/test_well_bores.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
# ruff: noqa: I001 # Successful module initialization is dependent on this specific import order.
66

7-
# noinspection PyProtectedMember
8-
97
# noinspection PyProtectedMember
108
from geophires_x_client import GeophiresInputParameters
119
from geophires_x_client import GeophiresXClient
@@ -87,13 +85,7 @@ def test_number_of_doublets_non_integer(self):
8785
# noinspection PyMethodMayBeStatic
8886
def _get_result(self, _params) -> GeophiresXResult:
8987
params = GeophiresInputParameters(
90-
{
91-
'Reservoir Depth': 5,
92-
'Gradient 1': 74,
93-
'Power Plant Type': 2,
94-
'Maximum Temperature': 600,
95-
}
96-
| _params
88+
{'Reservoir Depth': 5, 'Gradient 1': 74, 'Power Plant Type': 2, 'Maximum Temperature': 600, **_params}
9789
)
9890
return GeophiresXClient().get_geophires_result(params)
9991

0 commit comments

Comments
 (0)