Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4824

Rename common infra classes that look like test classes to pytest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • Impala 2.7.0
    • None
    • Infrastructure
    • None

    Description

      pytest tries to collect some test infra classes as though they are actual test classes. The warnings show up in later versions of pytest when these infra classes are imported, e.g. from tests.common.test_vector import TestDimension.

      WC1 /data/dknupp/Impala/tests/query_test/test_cancellation.py cannot collect test class 'TestDimension' because it has a __init__ constructor
      

      Attachments

        Issue Links

          Activity

            People

              dknupp David Knupp
              dknupp David Knupp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: