Skip to content

Commit

Permalink
Merge pull request #17660 from charris/backport-17658
Browse files Browse the repository at this point in the history
TST: Simplify source path names in test_extending.
  • Loading branch information
charris committed Oct 28, 2020
2 parents 3a5f457 + eceb8c1 commit 6d43019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions numpy/random/_examples/cython/setup.py
Expand Up @@ -19,15 +19,15 @@
lib_path = join(np.get_include(), '..', '..', 'random', 'lib')

extending = Extension("extending",
sources=[join(path, 'extending.pyx')],
sources=[join('.', 'extending.pyx')],
include_dirs=[
np.get_include(),
join(path, '..', '..')
],
define_macros=defs,
)
distributions = Extension("extending_distributions",
sources=[join(path, 'extending_distributions.pyx')],
sources=[join('.', 'extending_distributions.pyx')],
include_dirs=[inc_path],
library_dirs=[lib_path],
libraries=['npyrandom'],
Expand Down
2 changes: 0 additions & 2 deletions numpy/random/tests/test_extending.py
Expand Up @@ -41,8 +41,6 @@
cython = None


@pytest.mark.skipif(sys.platform == "win32" and sys.version_info[:2] == (3, 9),
reason="temp filename problem with Python 3.9 on Windows")
@pytest.mark.skipif(cython is None, reason="requires cython")
@pytest.mark.slow
def test_cython(tmp_path):
Expand Down

0 comments on commit 6d43019

Please sign in to comment.