-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
attempt to replace nose with pytest #2217
Conversation
💃 Maybe we need to remove |
Apparently nose tools are used inside the test files:
so this one needs more work. I'd prefer getting rid of nose as a whole instead of just switching to running pytest but keeping to importing nose. It doesn't matter whether this PR is merged before of after the patch release. |
Ha ha can't believe the CI was green on the first try! Happy reviewing... only 39 files :-p |
...ages/python/chart-studio/chart_studio/tests/test_optional/test_matplotlylib/test_plot_mpl.py
Show resolved
Hide resolved
…test_matplotlylib/test_plot_mpl.py
I removed the "slow" attributes because we're not using them anywhere in the CI but this can be discussed of course. Sometimes it's good to remove unused code :-). |
@nicolaskruchten you gave a 💃 but this was before I made a number of changes to remove completely the nose dependency, can you please confirm whether I can merge? |
One last thing: we should remove references to After that, 💃 |
``` | ||
|
||
... or even more granular by running something like: | ||
|
||
```bash | ||
nosetests plotly/tests/test_plotly/test_plot.py | ||
pytest plotly/tests/test_plotly/test_plot.py | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh can we add here the incantation for running a single test? I think it’s with a colon? I always forget it!
No description provided.