Skip to content

Commit 71dd600

Browse files
BENCH: update imports to allow testing against 1.2.5 (#42330)
1 parent fee2b87 commit 71dd600

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

asv_bench/benchmarks/algos/isin.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import numpy as np
22

3-
from pandas.compat.numpy import np_version_under1p20
3+
try:
4+
from pandas.compat import np_version_under1p20
5+
except ImportError:
6+
from pandas.compat.numpy import _np_version_under1p20 as np_version_under1p20
47

58
from pandas import (
69
Categorical,

0 commit comments

Comments
 (0)