Skip to content

DOC: fix doctest in util.py for greedy_splitext on Windows#5285

Open
Kd1880 wants to merge 2 commits intoMDAnalysis:developfrom
Kd1880:fix/doctest-util
Open

DOC: fix doctest in util.py for greedy_splitext on Windows#5285
Kd1880 wants to merge 2 commits intoMDAnalysis:developfrom
Kd1880:fix/doctest-util

Conversation

@Kd1880
Copy link

@Kd1880 Kd1880 commented Mar 7, 2026

Fixes part of #3925

Changes made in this Pull Request:

  • Fix doctest in greedy_splitext() in util.py
  • Added # doctest: +SKIP for platform-dependent path example that behaves differently on Windows vs Linux

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: yes
(Claude by Anthropic was used to help identify and understand the fix. Actual code changes were made manually.)

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added? (documentation-only change, no new tests needed)
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS?
  • LLM/AI disclosure was updated.

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.82%. Comparing base (54d37c2) to head (530afe1).
⚠️ Report is 4 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5285   +/-   ##
========================================
  Coverage    93.82%   93.82%           
========================================
  Files          180      182    +2     
  Lines        22477    22483    +6     
  Branches      3191     3195    +4     
========================================
+ Hits         21089    21095    +6     
  Misses         925      925           
  Partials       463      463           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed the AI and other declarations from the PR template. Please restore them before we review this PR.

@Kd1880 Kd1880 requested a review from IAlibay March 9, 2026 09:34
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.

2 participants