warning when running tests if have "import dash" run beforehand
See original GitHub issueIf I run import dash
before running any tests, the following warning will appear:
PytestAssertRewriteWarning: Module already imported so cannot be rewritten: dash
I assume this is enough to reproduce this issue. Feel free to contact if you need more information 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
importing dash causes running of any test.py in same folder as ...
I bumped up to a little bit unexpected behaviour: If you import dash, any file called test.py in the same folder will be...
Read more >Logging in Dash - LogTransform - Plotly Community Forum
While creating apps, I am often faced with the desire to route some kind of logs and/or notifications to the UI.
Read more >Dash User Guide and Documentation
Running tests with an accelerometer? Dash DAQ gives you the components you need to write rich, flexible GUIs for interfacing with your instruments...
Read more >Plotly Dash application not running - Stack Overflow
You can't run dash in debug mode on a jupyter notebook, ... work on jupyter. import JupyterDash and use JupyterDash instead of dash.Dash...
Read more >Mocha - the fun, simple, flexible JavaScript test framework
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry I spoke too soon:
ipytest.autoconfig(addopts=['-q', '--assert=plain', '--color=yes'])
works 🎉Too bad that with this configuration the fancy coloring is gone, would be cool to find an alternative solution.