Skip to content

Commit 72e35ba

Browse files
fix py38-incompatible type annotation
1 parent fc1f0f4 commit 72e35ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/geophires_x_schema_generator_tests/test_geophires_x_schema_generator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22
import unittest
3-
from typing import Any
43

54
from geophires_x_schema_generator import GeophiresXSchemaGenerator
65
from tests.base_test_case import BaseTestCase
@@ -20,7 +19,7 @@ def test_get_json_schema(self):
2019

2120
print(f'Generated result schema: {json.dumps(result_schema, indent=2)}')
2221

23-
def get_result_prop(cat: str, name: str) -> dict[str, Any]:
22+
def get_result_prop(cat: str, name: str) -> dict:
2423
return result_schema['properties'][cat]['properties'][name]
2524

2625
self.assertIn(

0 commit comments

Comments
 (0)