Skip to content

Commit 0957c27

Browse files
whoops, toolz is optional
1 parent aa47af9 commit 0957c27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/scalar/timedelta/test_constructors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import numpy as np
99
import pytest
10-
from toolz.curried import keyfilter
1110

1211
from pandas._libs.tslibs import OutOfBoundsTimedelta
1312

@@ -72,7 +71,7 @@
7271
)
7372

7473

75-
skip_ns = keyfilter(lambda k: not k.startswith("n"))
74+
skip_ns = lambda d: {k: v for k, v in d.items() if not k.startswith("n")}
7675

7776

7877
def test_construction():

0 commit comments

Comments
 (0)