Skip to content

RuntimeWarning: Unknown node type <MatchMapping> #522

@edreamleo

Description

@edreamleo

Describe the bug

Running all tests with pytest -v -W ignore::DeprecationWarning yields:

ropetest/refactor/extracttest.py::ExtractMethodTest::test_extract_method_containing_structural_pattern_match_3
  C:\Repos\rope\rope\refactor\patchedast.py:93: RuntimeWarning: Unknown node type <MatchMapping>; please report!

To Reproduce

Other information

  • Python version: Python 3.10.5
    (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32
  • pytest version: pytest 7.1.3
  • Rope version: 5f8bd4a
  • Text editor/IDE and version (not used in test): Leo 6.7.2-devel

Metadata

Metadata

Assignees

Labels

bugUnexpected or incorrect user-visible behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions