Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-42340: Fix some deprecation warnings #875

Merged
merged 2 commits into from Jan 4, 2024
Merged

DM-42340: Fix some deprecation warnings #875

merged 2 commits into from Jan 4, 2024

Conversation

timj
Copy link
Member

@timj timj commented Jan 3, 2024

No description provided.

This is the pydantic v2 interface.
Deleting the variable does trigger the clean up of the temporary
directory but it also issues a warning:

ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/var/folders/1x/h9lknjv97cx6lw9npp95xkyr0000gn/T/tmpav1qw4d_'>

Replace the tearDown with an explicit cleanup() call. Also ensure
that any errors in clean up do not cause the tests to fail.
@timj timj merged commit d109869 into main Jan 4, 2024
2 checks passed
@timj timj deleted the tickets/DM-42340 branch January 4, 2024 15:13
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.

None yet

2 participants