← 返回首页
env var required for nb test funcs to run by kushalkolar · Pull Request #460 · fastplotlib/fastplotlib · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

env var required for nb test funcs to run#460

Merged
kushalkolar merged 1 commit into
mainfrom
nb-testing-env-var
Mar 30, 2024
Merged

env var required for nb test funcs to run#460
kushalkolar merged 1 commit into
mainfrom
nb-testing-env-var

Conversation

kushalkolar commented Mar 30, 2024
edited
Loading

Copy link
Copy Markdown
Member

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 marked this pull request as ready for review March 30, 2024 05:41
kushalkolar requested a review from clewis7 as a code owner March 30, 2024 05:41
kushalkolar merged commit 60cf919 into main Mar 30, 2024
kushalkolar deleted the nb-testing-env-var branch March 30, 2024 09:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.