Skip to content

env var required for nb test funcs to run #460

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

Merged
merged 1 commit into from
Mar 30, 2024
Merged

Conversation

kushalkolar
Copy link
Member

@kushalkolar kushalkolar commented Mar 30, 2024

closes #438

this prevents exceptions from being raised in the example notebooks which have testing cells. They are marked as "for testing, ignore" but with this PR the functions just return immediately anyways if the user has run them. The test functions now require the env var FASTPLOTLIB_NB_TESTS="1" to run.

@kushalkolar kushalkolar marked this pull request as ready for review March 30, 2024 05:41
@kushalkolar kushalkolar requested a review from clewis7 as a code owner March 30, 2024 05:41
@kushalkolar kushalkolar merged commit 60cf919 into main Mar 30, 2024
@kushalkolar kushalkolar deleted the nb-testing-env-var branch March 30, 2024 09:18
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

Successfully merging this pull request may close these issues.

Env var to ignore testing func for demo nb
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy