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

Resolve Pytest warnings #1684

Merged
merged 6 commits into from Mar 7, 2024
Merged

Resolve Pytest warnings #1684

merged 6 commits into from Mar 7, 2024

Conversation

bennibbelink
Copy link
Contributor

@bennibbelink bennibbelink commented Mar 7, 2024

There are many instances in cycpp.py where a standard string is used instead of a raw string literal leading to incorrect escaping. This led to a failing test mentioned in #1683. This PR resolves the regex warnings along with a handful of other pytest warnings. Pytest should run cleanly now with no warnings.

Copy link

github-actions bot commented Mar 7, 2024

Downstream Build Status Report

Build FROM cyclus_20.04_apt/cyclus
  • Cycamore: Success
  • Cymetric: Success
Build FROM cyclus_20.04_conda/cyclus
  • Cycamore: Success
  • Cymetric: Success
Build FROM cyclus_22.04_apt/cyclus
  • Cycamore: Success
  • Cymetric: Success
Build FROM cyclus_22.04_conda/cyclus
  • Cycamore: Success
  • Cymetric: Success

@coveralls
Copy link
Collaborator

coveralls commented Mar 7, 2024

Pull Request Test Coverage Report for Build 8193236620

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 32.589%

Totals Coverage Status
Change from base Build 8103443268: 0.0%
Covered Lines: 52972
Relevant Lines: 128973

💛 - Coveralls

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

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

Thanks @bennibbelink - this looks clear/clean and passes tests.

@bennibbelink bennibbelink marked this pull request as ready for review March 7, 2024 19:26
@gonuke gonuke merged commit 4ee8e6c into cyclus:main Mar 7, 2024
8 checks passed
@bennibbelink bennibbelink deleted the cycpp-re-warnings branch March 13, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants