Django

Code

Ticket #7728 (closed: fixed)

Opened 6 months ago

Last modified 6 months ago

Test output checking overly detailed

Reported by: fijal Assigned to: nobody
Milestone: Component: Uncategorized
Version: SVN Keywords:
Cc: fijall@gmail.com Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

There is a test in admin scripts that relies that file is loaded from .pyc. This fails on top of pypy and IMO it's not a good thing to have in the first place. Attached patch.

Attachments

test.diff (0.9 kB) - added by fijal on 07/12/08 02:19:26.

Change History

07/12/08 02:19:26 changed by fijal

  • attachment test.diff added.

07/13/08 02:21:48 changed by fijal

  • cc set to fijall@gmail.com.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

07/13/08 03:57:30 changed by russellm

  • status changed from new to closed.
  • resolution set to fixed.

(In [7915]) Fixed #7728 -- Modified the output check in the admin script tests. Checking for pyc is a CPython-specific check, and it breaks CPython if pyc files aren't generated (due to permission problems, etc). Thanks to Maciej Fijalkowski (fijal) for the report and fix.


Add/Change #7728 (Test output checking overly detailed)




Change Properties
Action