Skip to content

Fix Syntax warning in ts summary.py#26636

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
FantasqueX:fix-re-warning-2
Dec 18, 2024
Merged

Fix Syntax warning in ts summary.py#26636
asmorkalov merged 1 commit intoopencv:4.xfrom
FantasqueX:fix-re-warning-2

Conversation

@FantasqueX
Copy link
Copy Markdown
Contributor

C:\Users\voidr\Documents\develop\source\opencv\modules\ts\misc\summary.py:41: SyntaxWarning: invalid escape sequence '\d'
  numeric_re = re.compile("(\d+)")
C:\Users\voidr\Documents\develop\source\opencv\modules\ts\misc\summary.py:42: SyntaxWarning: invalid escape sequence '\d'
  cvtype_re = re.compile("(8U|8S|16U|16S|32S|32F|64F)C(\d{1,3})")

Related: #26579

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov self-requested a review December 18, 2024 05:27
@asmorkalov asmorkalov self-assigned this Dec 18, 2024
@asmorkalov asmorkalov added this to the 4.11.0 milestone Dec 18, 2024
@asmorkalov asmorkalov merged commit 23f6a9e into opencv:4.x Dec 18, 2024
@asmorkalov asmorkalov mentioned this pull request Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants