Skip to content

Refactoring and formatting in tests#311

Merged
teutoburg merged 4 commits intodev_masterfrom
fh/testrefac
Feb 6, 2026
Merged

Refactoring and formatting in tests#311
teutoburg merged 4 commits intodev_masterfrom
fh/testrefac

Conversation

@teutoburg
Copy link
Contributor

Mostly MICADO. Get rid of some warnings. Remove xfail from passing tests.

@teutoburg teutoburg self-assigned this Feb 5, 2026
@teutoburg teutoburg requested a review from a team February 6, 2026 08:08
Comment on lines +73 to +79
pytest.param(
"open", "H", 2, 27.5, 0.3,
marks=pytest.mark.xfail(
reason="something changed in ScopeSim..."
),
),
("open", "Ks", 2, 27.1, 0.3),
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is pretty ugly! But that's fine, because the uglyness is a good reminder we should fix something. And nice that this works at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that was done by black, although I already reduced it somewhat, it originally put every parameter on a separate line. That's one of the cases where black is perhaps a bit ... overenthusiastic.

@teutoburg teutoburg merged commit 3c8cb36 into dev_master Feb 6, 2026
12 checks passed
@teutoburg teutoburg deleted the fh/testrefac branch February 6, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants