Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing runtests on numpy. #11

Open
rainwoodman opened this issue Mar 31, 2017 · 0 comments
Open

Testing runtests on numpy. #11

rainwoodman opened this issue Mar 31, 2017 · 0 comments

Comments

@rainwoodman
Copy link
Member

This is basically running numpy with pytest.

Here are some observations:

  1. We need setuptools support. Newer numpy has switched to setuptools. This is PR Add support to setuptools based packages. #10

  2. All tests needs to be patched to include __init__.py, due to the unique name workaround. see, e.g.
    "unique basename" error vs __init__.py in test sub-folders is a UX mayhem pytest-dev/pytest#529

  3. Due to 1, some tests that does relative imports needs to be aware of the relative imports, requiring adding dots to the import lines.

  4. A lot of yielded tests needs to be changed to parametrized tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant