Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use pytest markers for slycot, cvxopt, and pandas tests#1182

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
murrayrm merged 5 commits intopython-control:mainfromroryyorke:rory/test-markers
Nov 2, 2025

Conversation

@roryyorke
Copy link
Contributor

Using these markers allows selection of tests at the command-line, which is useful to focus on specific test types in development, and specifically allows testing only Slycot-dependent tests in Slycot CI.

Rory Yorke added4 commitsOctober 18, 2025 14:08
The pytest marker slycot is equivalent to the slycotonly decorator,and also allows slycot tests to be included or excluded at the pytestcommand-line.
The pytest marker cvxopt is equivalent to the cvxoptonly decorator,and also allows cvxopt tests to be included or excluded at the pytestcommand-line.
@coveralls
Copy link

coveralls commentedOct 18, 2025
edited
Loading

Coverage Status

coverage: 94.734%. remained the same
when pulling01d76fd on roryyorke:rory/test-markers
intoabeb0e4 on python-control:main.

@roryyorke
Copy link
ContributorAuthor

Is it expected that theOS/BLAS test matrix workflow doesn't run?

@bnavigator
Copy link
Contributor

It only runs when one of the specified files in .github is changed:#821

@roryyorke
Copy link
ContributorAuthor

Anyone had a look at this yet? Would like to merge this so Slycot tests can be clean, and we can move ahead withpython-control/Slycot#250 .

Comment on lines 9 to 10
cvxoptonly=pytest.mark.skipif(
notcontrol.exception.cvxopt_check(),reason="cvxopt not installed")
Copy link
Contributor

Choose a reason for hiding this comment

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

replace this as well?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

thanks, missed that. Fixed in01d76fd

@bnavigator
Copy link
Contributor

Yes, sorry for not getting back earlier. LGTM.

@murrayrmmurrayrm merged commit2435a6a intopython-control:mainNov 2, 2025
24 checks passed
@roryyorkeroryyorke deleted the rory/test-markers branchNovember 2, 2025 16:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@bnavigatorbnavigatorbnavigator approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@roryyorke@coveralls@bnavigator@murrayrm

[8]ページ先頭

©2009-2025 Movatter.jp