Skip to content

Empty #region for generated Python tests #1804

Closed
@tyuldashev

Description

@tyuldashev

Description

For each function under test there is one #region with name and another one without.

To Reproduce

Steps to reproduce the behavior:

  1. Generate test for some Python function
  2. Open generated test file

Expected behavior

All existing regions have names

Actual behavior

For each function only one region has name and second one is empty

Visual proofs (screenshots, logs, images)
Sample of such test file, note that second one has nothing after # region

class TestTopLevelFunctions(unittest.TestCase):
    # region Test suites for executable fractals.mandelbrot.get_distance
    
    # region
    
    def test_get_distance(self):
...

Metadata

Metadata

Assignees

Labels

comp-summariesSomething related to the method names, code comments and display names generationctg-bugIssue is a buglang-pythonIssue is related to python supportstatus-verifiedBug fix is verified

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions