Skip to content

Commit 085dc02

Browse files
committed
type hint fixes for adaptive/tests/test_cquad.py
1 parent cda896c commit 085dc02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adaptive/tests/test_cquad.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from functools import partial
22
from operator import attrgetter
3-
from typing import Callable, List, Set, Union
3+
from typing import Callable, List, Set
44

55
import numpy as np
66
import pytest
@@ -19,7 +19,7 @@
1919

2020

2121
def run_integrator_learner(
22-
f: Union[partial, Callable], a: int, b: int, tol: float, n: int
22+
f: Callable, a: int, b: int, tol: float, n: int
2323
) -> IntegratorLearner:
2424
learner = IntegratorLearner(f, bounds=(a, b), tol=tol)
2525
for _ in range(n):

0 commit comments

Comments
 (0)