From b7a0ba6431ac83ef237e4e4170ab1ea937d881bc Mon Sep 17 00:00:00 2001 From: Chris Barnes Date: Mon, 23 Oct 2023 16:09:31 +0100 Subject: [PATCH] Fix modern typing usage --- tests/test_connectivity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_connectivity.py b/tests/test_connectivity.py index e100c174..d5bb6f29 100644 --- a/tests/test_connectivity.py +++ b/tests/test_connectivity.py @@ -1,4 +1,4 @@ -from typing import List, Tuple +from typing import List, Tuple, Dict import pytest import pandas as pd @@ -125,7 +125,7 @@ def test_neuron_connector_synthetic(simple_network): def test_neuron_connector_real( - neuron_connections: Tuple[NeuronList, dict[int, dict[int, int]]] + neuron_connections: Tuple[NeuronList, Dict[int, Dict[int, int]]] ): nl, exp = neuron_connections nc = NeuronConnector(nl)