From ddd8ac97bf77b22b2aaa8443fc9f2d78a77c5e2d Mon Sep 17 00:00:00 2001 From: "Laura Luebbert, Ph.D." <56094636+lauraluebbert@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:43:30 -0400 Subject: [PATCH] Remove type hinting to support earlier Python versions --- tests/test_cbio.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_cbio.py b/tests/test_cbio.py index 4b87bfd7..4e32a583 100644 --- a/tests/test_cbio.py +++ b/tests/test_cbio.py @@ -1,7 +1,6 @@ import hashlib import unittest import json -from typing import Callable from gget.gget_cbio import download_cbioportal_data, cbio_search from .from_json import from_json, do_call @@ -21,7 +20,7 @@ class TestCbioSearch(unittest.TestCase, metaclass=from_json(cb_search_dict, _sor pass # all tests are loaded from json -def _cbio_download(name: str, td: dict[str, dict[str, ...]], func: Callable) -> Callable: +def _cbio_download(name: str, td, func): def cbio_download(self: unittest.TestCase): test = name expected_result = td[test]["expected_result"]