Skip to content

Remove Leftover Files After Testing#3670

Merged
blnicho merged 2 commits intoPyomo:mainfrom
mrmundt:leftover-files
Aug 1, 2025
Merged

Remove Leftover Files After Testing#3670
blnicho merged 2 commits intoPyomo:mainfrom
mrmundt:leftover-files

Conversation

@mrmundt
Copy link
Copy Markdown
Contributor

@mrmundt mrmundt commented Jul 31, 2025

Fixes #3668

Summary/Motivation:

#3668 pointed out that we have some residual files that fail to be deleted after running tests. Because pyomo.duality is entirely deprecated, I'm not touching it, but everything else is resolved.

Changes proposed in this PR:

  • Effectively use TempfileManager across tests that were not using it in the past
  • There was a double-copyright statement in contrib/sensitivity_toolbox; removed duplicate copyright

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@github-project-automation github-project-automation bot moved this from Todo to Reviewer Approved in August 2025 Release Aug 1, 2025
@blnicho blnicho merged commit c67cb4f into Pyomo:main Aug 1, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer Approved to Done in August 2025 Release Aug 1, 2025
@mrmundt mrmundt deleted the leftover-files branch August 11, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Running pytest seems to create unwanted files

3 participants