• 
      

    Update test configuration.

    Review Request #12081 — Created Feb. 24, 2022 and submitted

    Information

    Review Board
    release-5.0.x

    Reviewers

    This change makes three updates to our test configuration.

    First, --pyargs has been removed so that the test runner command-line
    uses the standard pytest syntax for selecting tests (filesystem paths +
    ::ClassName::function_name). We had put this in to try to maintain
    compatibility with the old nose test runner, but the syntax was already
    slightly different (nose used :ClassName.function_name) and this makes
    it easy to copy/paste a test name from the failure list into a new
    command line.

    Second, this updates the list of suppressed warnings further to remove
    things which are no longer problematic, and add a couple things that I
    don't want to deal with right now.

    Last, the test capture glob has been updated to be more correct. This
    doesn't seem to affect the total number of collected tests, but might
    in the future.

    Ran unit tests.

    Summary ID
    Update test configuration.
    This change makes three updates to our test configuration. First, `--pyargs` has been removed so that the test runner command-line uses the standard pytest syntax for selecting tests (filesystem paths + `::ClassName::function_name`). We had put this in to try to maintain compatibility with the old nose test runner, but the syntax was already slightly different (nose used `:ClassName.function_name`) and this makes it easy to copy/paste a test name from the failure list into a new command line. Second, this updates the list of suppressed warnings further to remove things which are no longer problematic, and add a couple things that I don't want to deal with right now. Last, the test capture glob has been updated to catch some more testcase classes. Testing Done: Ran unit tests.
    3567fe9725c3ece3a795a7879dd4e609dad00c3f
    chipx86
    1. 
        
    2. setup.cfg (Diff revision 1)
       
       

      I read about this. IIRC, Python is trying to move sys.version_info to sys.__version_info__. That'll be fun.

    3. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to django-3.2 (2db245b)