Skip to content

Use default of pytest v9#45

Merged
byubean merged 1 commit intomasterfrom
v9
Nov 18, 2025
Merged

Use default of pytest v9#45
byubean merged 1 commit intomasterfrom
v9

Conversation

@ecdye
Copy link
Copy Markdown
Member

@ecdye ecdye commented Nov 18, 2025

There are no breaking changes in upgrading our pytest base, as far as I can tell, and all tests appear to be unchanged before and after (aside from a few bugs that have apparently occured over time as changes have been made that I fixed).

This fixes a few minor issues, and prevents the deprecation warnings that are starting to pop up in Python 3.14 with the previous pytest version.

There are no breaking changes in upgrading our pytest base, as far as I
can tell, and all tests appear to be unchanged before and after (aside
from a few bugs that have apparently occured over time as changes have
been made that I fixed).

This fixes a few minor issues, and prevents the deprecation warnings
that are starting to pop up in Python 3.14 with the previous pytest
version.

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
@ecdye ecdye requested a review from byubean November 18, 2025 00:47


@dialog(test_files / 'test_cached_asset.dialog.txt', python_script)
@dialog(test_files / 'test_cached_asset.dialog.txt', python_script())
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What was the motivation behind this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It was using improper syntax for the dialog function. Unless you call it before passing, it will throw an error because dialog is expecting a Path not a Callable. Until I changed it, both before and after I upgraded the base version, it would throw an error.

@byubean byubean merged commit be3775a into master Nov 18, 2025
2 checks passed
@byubean byubean deleted the v9 branch November 18, 2025 22:57
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