Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16239 closed Cleanup/optimization (fixed)

django.test.simple.py's __all__ includes inexistent "run_tests"

Reported by: wojtek@… Owned by: teraom
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

top level function "run_tests" doesn't exist anymore in simple.py yet is referenced in all

replace:
all = ('DjangoTestRunner', 'DjangoTestSuiteRunner', 'run_tests')

with
all = ('DjangoTestRunner', 'DjangoTestSuiteRunner')

Attachments (1)

remove_run_tests-16239.diff (512 bytes) - added by teraom 4 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 4 years ago by melinath

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Bug to Cleanup/optimization

Changed 4 years ago by teraom

comment:2 Changed 4 years ago by teraom

  • Has patch set
  • Owner changed from nobody to teraom
  • Status changed from new to assigned

comment:3 Changed 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from assigned to closed

In [16396]:

Fixed #16239 -- Removed stale entry in django.test.simple.all. Thanks, melinath.

comment:4 Changed 4 years ago by melinath

Hmm... This actually wasn't me...

Version 0, edited 4 years ago by melinath (next)

comment:5 Changed 4 years ago by jezdez

Yeah, my mistake, sorry teraom.

Note: See TracTickets for help on using tickets.
Back to Top