From 3f9e29d23aec8ff8e37b24502e9610056f38c5fc Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Sun, 24 Dec 2023 17:52:29 +0100 Subject: [PATCH] regen test --- papyri/tests/expected/numpy:einsum.expected | 6 +++--- papyri/tests/expected/numpy:linspace.expected | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/papyri/tests/expected/numpy:einsum.expected b/papyri/tests/expected/numpy:einsum.expected index bc18ec9b..3bc778b6 100644 --- a/papyri/tests/expected/numpy:einsum.expected +++ b/papyri/tests/expected/numpy:einsum.expected @@ -74,7 +74,7 @@ output : ndarray ## Notes ┌──────────────────────────────────────────────────────────────────────────────┐ -│ (i): versionadded 1.6.0 │ +│ |?|: versionadded 1.6.0 │ └──────────────────────────────────────────────────────────────────────────────┘ The Einstein summation convention can be used to compute many multi-dimensional, linear algebraic array operations. `einsum` provides a @@ -149,7 +149,7 @@ implicit mode, otherwise it will be performed explicitly. The examples below have corresponding `einsum` calls with the two parameter methods. ┌──────────────────────────────────────────────────────────────────────────────┐ -│ (i): versionadded 1.10.0 │ +│ |?|: versionadded 1.10.0 │ └──────────────────────────────────────────────────────────────────────────────┘ Views returned from einsum are now writeable whenever the input array is writeable. For example, np.einsum('ijk...->kji...', a) will now have the same @@ -157,7 +157,7 @@ effect as np.swapaxes(a, 0, 2) and np.einsum('ii->i', a) will return a writeable view of the diagonal of a 2D array. ┌──────────────────────────────────────────────────────────────────────────────┐ -│ (i): versionadded 1.12.0 │ +│ |?|: versionadded 1.12.0 │ └──────────────────────────────────────────────────────────────────────────────┘ Added the optimize argument which will optimize the contraction order of an einsum expression. For a contraction with three or more operands this can diff --git a/papyri/tests/expected/numpy:linspace.expected b/papyri/tests/expected/numpy:linspace.expected index ccdbea9a..7effcde5 100644 --- a/papyri/tests/expected/numpy:linspace.expected +++ b/papyri/tests/expected/numpy:linspace.expected @@ -12,13 +12,13 @@ Returns num evenly spaced samples, calculated over the interval [`start`, stop The endpoint of the interval can optionally be excluded. ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -┃ (i): versionchanged 1.16.0 ┃ +┃ |?|: versionchanged 1.16.0 ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ Non-scalar start and stop are now supported. │ │ │ └──────────────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -┃ (i): versionchanged 1.20.0 ┃ +┃ |?|: versionchanged 1.20.0 ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ Values are rounded towards -inf instead of 0 when an integer dtype is │ │ specified. The old behavior can still be obtained with np.linspace(start, │ @@ -52,7 +52,7 @@ dtype : dtype, optional `float` is chosen even if the arguments would produce an array of integers. ┌────────────────────────────────────────────────────────────────────────────┐ - │ (i): versionadded 1.9.0 │ + │ |?|: versionadded 1.9.0 │ └────────────────────────────────────────────────────────────────────────────┘ axis : int, optional The axis in the result to store the samples. Relevant only if start or stop @@ -60,7 +60,7 @@ axis : int, optional inserted at the beginning. Use -1 to get an axis at the end. ┌────────────────────────────────────────────────────────────────────────────┐ - │ (i): versionadded 1.16.0 │ + │ |?|: versionadded 1.16.0 │ └────────────────────────────────────────────────────────────────────────────┘ ## Returns