GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix testpaths for newer pytest versions by ellert · Pull Request #343 · Calysto/metakernel

Conversation

@ellert

@ellert ellert commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

See: testpaths = A A/B doesn't test folder A
pytest-dev/pytest#12605

Search is recursive, so in ["tests", "tests/magics"], the latter is redundant and can be removed. It is even harmful since in newer pytest versions parent directories of paths in testpaths are excluded, so listing "tests/magics" excludes the tests in "tests", and only the tests in "tests/magics" are run even though "tests" is listed in testpaths.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ellert
Fix testpaths for newer pytest versions
6a607ef
See: testpaths = A A/B doesn't test folder A
pytest-dev/pytest#12605

Search is recursive, so in ["tests", "tests/magics"], the latter is
redundant and can be removed. It is even harmful since in newer pytest
versions parent directories of paths in testpaths are excluded, so
listing "tests/magics" excludes the tests in "tests", and only the
tests in "tests/magics" are run even though "tests" is listed in
testpaths.
@codecov-commenter

codecov-commenter commented Mar 5, 2026 •
edited by codecov Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.94%. Comparing base (003c413) to head (6a607ef).
⚠️ Report is 127 commits behind head on main.

❌ Your project status has failed because the head coverage (85.94%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #343   +/-   ##
=======================================
  Coverage   85.94%   85.94%           
=======================================
  Files          51       51           
  Lines        2824     2824           
  Branches      395      395           
=======================================
  Hits         2427     2427           
  Misses        277      277           
  Partials      120      120           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@blink1073 blink1073 added the maintenance label Mar 5, 2026
blink1073
blink1073 approved these changes Mar 5, 2026
View reviewed changes

@blink1073 blink1073 left a comment

Copy link
Copy Markdown
Contributor

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.

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@blink1073
blink1073 merged commit 26029d0 into Calysto:main Mar 5, 2026
21 of 22 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@ellert
ellert deleted the testpaths-parent branch March 6, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@blink1073 blink1073 blink1073 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ellert @codecov-commenter @blink1073
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.