Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 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 3 years ago by teraom

comment:2 Changed 3 years ago by teraom

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

comment:3 Changed 3 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 3 years ago by melinath

Hmm... This actually wasn't me, it was teraom. ... Oh well.

Last edited 3 years ago by melinath (previous) (diff)

comment:5 Changed 3 years ago by jezdez

Yeah, my mistake, sorry teraom.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.