Skip to content

DeprecationWarning due to invalid escape sequence #377

@mkundu1

Description

@mkundu1
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\meshing\tui.py:361: c: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\meshing\tui.py:382: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\meshing\tui.py:8498: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:18123: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:18258: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:18263: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.810001 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:18273: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:18278: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:23126: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : """
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : C:/Program Files\Dynardo\Ansys optiSLang\2022 R2\scripting\integrations\json_based\Fluent\ansys\fluent\core\solver\tui.py:27714: DeprecationWarning: invalid escape sequence \*
WARNING: 2022-May-04 09:02:29.825673 : fluent_test_v2 : """

Reported by optiSLang user. The root cause is the presence of \* in our docstrings (the line numbers will not match with the latest main branch). As mentioned here: Changed in version 3.6: Unrecognized escape sequences produce a DeprecationWarning. In a future Python version they will be a SyntaxWarning and eventually a SyntaxError.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions