File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2354,19 +2354,22 @@ def _get_analyze_compat_dtype(arr):
23542354 >>> _get_analyze_compat_dtype(np.array([0, 4294967295]))
23552355 Traceback (most recent call last):
23562356 ...
2357- ValueError: Cannot find analyze-compatible dtype for array with dtype=int64 (min=0, max=4294967295)
2357+ ValueError: Cannot find analyze-compatible dtype for array with dtype=int64
2358+ (min=0, max=4294967295)
23582359
23592360 >>> _get_analyze_compat_dtype([0., 2.e40])
23602361 Traceback (most recent call last):
23612362 ...
2362- ValueError: Cannot find analyze-compatible dtype for array with dtype=float64 (min=0.0, max=2e+40)
2363+ ValueError: Cannot find analyze-compatible dtype for array with dtype=float64
2364+ (min=0.0, max=2e+40)
23632365
23642366 Note that real-valued complex arrays cannot be safely cast.
23652367
23662368 >>> _get_analyze_compat_dtype(np.array([1+0j]))
23672369 Traceback (most recent call last):
23682370 ...
2369- ValueError: Cannot find analyze-compatible dtype for array with dtype=complex128 (min=(1+0j), max=(1+0j))
2371+ ValueError: Cannot find analyze-compatible dtype for array with dtype=complex128
2372+ (min=(1+0j), max=(1+0j))
23702373 """
23712374 arr = np .asanyarray (arr )
23722375 dtype = arr .dtype
You can’t perform that action at this time.
0 commit comments