Skip to content

[Relax] Fix deprecation warning#19424

Merged
tlopex merged 1 commit intoapache:mainfrom
cchung100m:fix_DeprecationWarning_test_texture_ops
Apr 20, 2026
Merged

[Relax] Fix deprecation warning#19424
tlopex merged 1 commit intoapache:mainfrom
cchung100m:fix_DeprecationWarning_test_texture_ops

Conversation

@cchung100m
Copy link
Copy Markdown
Contributor

Issue

image

Summary

The DeprecationWarning: invalid escape sequence \ cam from ASCII-art docstrings containing backslashes. I updated those docstrings to raw strings(r"""....""") in test_texture_ops.py.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several test functions in tests/python/relax/backend/adreno/test_texture_ops.py by converting their docstrings to raw strings. This change ensures that backslashes or special characters within the docstring diagrams are interpreted literally. I have no feedback to provide.

@cchung100m cchung100m marked this pull request as ready for review April 20, 2026 16:03
@tlopex tlopex merged commit 527fbf5 into apache:main Apr 20, 2026
11 checks passed
@cchung100m cchung100m deleted the fix_DeprecationWarning_test_texture_ops branch April 21, 2026 07:41
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