Skip to content

Commit

Permalink
Fix type hints for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Oct 25, 2023
1 parent efd31f1 commit 37b3c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantile_forest/tests/test_quantile_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import math
import warnings
from typing import Any
from typing import Any, Dict

import numpy as np
import pytest
Expand Down Expand Up @@ -41,7 +41,7 @@
X_california = california.data[perm]
y_california = california.target[perm]

FOREST_REGRESSORS: dict[str, Any] = {
FOREST_REGRESSORS: Dict[str, Any] = {
"ExtraTreesQuantileRegressor": ExtraTreesQuantileRegressor,
"RandomForestQuantileRegressor": RandomForestQuantileRegressor,
}
Expand Down

0 comments on commit 37b3c1a

Please sign in to comment.