forked from cython/cython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tag for numpy in error test, update actions versions (cython#5985)
* add tag for numpy in error test * fix the test for the extra line * upgrade github actions to versions using node20 * update ccache action, add python version to wheel upload name
- Loading branch information
Showing
3 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# mode: error | ||
#tag: numpy | ||
|
||
cimport numpy as np | ||
|
||
cdef void func(np.ndarray[np.double_t, ndim=1] myarray) nogil: | ||
pass | ||
|
||
_ERRORS = u""" | ||
5:15: Buffer may not be acquired without the GIL. Consider using memoryview slices instead. | ||
6:15: Buffer may not be acquired without the GIL. Consider using memoryview slices instead. | ||
""" |