Skip to content

Empty tuple generation for fixed size tuple annotation #2028

Description

@tamarinvs19

Description

When fuzzer generate fixed tuple it tries to create tests with empty tuple but it is wrong.

To Reproduce

Steps to reproduce the behavior:

  1. Run the 'pylint' project in IntelliJ Idea
  2. Use plugin to generate tests for function pylint.utils.utils.get_rst_section
  3. Open the generated test

Expected behavior

Valid tests are supposed to be generated.

Actual behavior

Syntax warning in Intellij Idea and invalid execution

Visual proofs (screenshots, logs, images)
Снимок экрана (5)

Metadata

Metadata

Assignees

Labels

comp-fuzzingIssue is related to the fuzzingctg-bugIssue is a buglang-pythonIssue is related to python support

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions