Skip to content

Commit

Permalink
I-51 tuple changed to Tuple for compatibility with Python <3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
IroNEDR committed Aug 15, 2024
1 parent 6ba5757 commit e0b2851
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from PyNomaly import loop

import logging
from typing import Tuple
import numpy as np
from numpy.testing import assert_array_equal
import pandas as pd
Expand Down Expand Up @@ -52,7 +53,7 @@ def X_n8() -> np.ndarray:


@pytest.fixture()
def X_n20_scores() -> tuple[np.ndarray, np.ndarray]:
def X_n20_scores() -> Tuple[np.ndarray, np.ndarray]:
"""
Fixture that returns a tuple containing a 20 element numpy array
and the precalculated loOP scores based on that array.
Expand Down

0 comments on commit e0b2851

Please sign in to comment.