Skip to content

Commit 4c771f8

Browse files
Fix python 3.8-incompatible type annotation
1 parent 762067a commit 4c771f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_geophires_x.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import tempfile
33
import uuid
44
from pathlib import Path
5-
from typing import Any
65
from typing import Optional
76

87
from geophires_x.OptionList import PlantType
@@ -662,7 +661,7 @@ def _get_result(num_laterals: int) -> GeophiresXResult:
662661
)
663662
)
664663

665-
def _c_non_vert(r: GeophiresXResult) -> dict[str, Any]:
664+
def _c_non_vert(r: GeophiresXResult) -> dict:
666665
return r.result['CAPITAL COSTS (M$)']['Drilling and completion costs per non-vertical section']
667666

668667
self.assertIsNone(_c_non_vert(_get_result(0)))

0 commit comments

Comments
 (0)