Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
  • Loading branch information
Pierre-Sassoulas and mbyrnepr2 committed Jan 10, 2023
1 parent 2a1fac8 commit 416c233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/whatsnew/fragments/8024.false_positive
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Added test for pure python cython.declare usage, which should be valid no matter what is imported from the cython module.
Added test for pure Python ``cython.declare`` usage, which should be valid no matter what is imported from the cython module.

Refs #8024
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Test for cython pure python false positives"""
"""Test for cython pure Python false positives"""
import cython

# cython allows any import in pure python mode. It can only
# cython allows any import in pure Python mode. It can only
# be determined correct at compile time
# Check that it doesn't raise neither an import-error nor a
# Check that it raises neither an import-error nor a
# no-name-in-module error
from cython.cimports.libc.math import sin

Expand Down

0 comments on commit 416c233

Please sign in to comment.