Skip to content

Commit 95048f2

Browse files
Merge pull request #33915 from jakevdp:scipy-test-fix
PiperOrigin-RevId: 843766808
2 parents d0fbc68 + 8ab5e07 commit 95048f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/linalg_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ def _random_invertible(rng, shape, dtype):
8585

8686
def osp_linalg_toeplitz(c: np.ndarray, r: np.ndarray | None = None) -> np.ndarray:
8787
"""scipy.linalg.toeplitz with v1.17+ batching semantics."""
88-
# TODO(dfm,jakevdp): Remove dev check after upstream PR is merged:
89-
# https://github.com/scipy/scipy/issues/21466.
90-
if scipy_version >= (1, 17, 0) and "dev0" not in scipy.version.version:
88+
if scipy_version >= (1, 17, 0):
9189
return scipy.linalg.toeplitz(c, r)
9290
elif r is None:
9391
c = np.atleast_1d(c)

0 commit comments

Comments
 (0)