Skip to content

Commit f7e862b

Browse files
committed
🙈 ignore false positive pyrefly bad-specialization error (facebook/pyrefly#3329)
1 parent 0981c49 commit f7e862b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tests/optimize/test_minimize_scalar.pyi‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ res = minimize_scalar(f, bracket, bounds)
2020

2121
# https://github.com/scipy/scipy-stubs/issues/465
2222
p = npp.Polynomial([3, -2, 1, 1, 0.2])
23-
res_poly = minimize_scalar(p)
23+
# https://github.com/facebook/pyrefly/issues/3329
24+
res_poly = minimize_scalar(p) # pyrefly: ignore [bad-specialization]
2425
assert_type(res.success, bool)

0 commit comments

Comments
 (0)