Title: test_pydoc has no way to regenerate pristine data
Type: behavior Stage:
Components: Tests Versions: Python 3.4, Python 3.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: benjamin.peterson Nosy List: benjamin.peterson, eric.araujo, georg.brandl
Priority: low Keywords:

Created on 2008-06-22 03:47 by brett.cannon, last changed 2019-03-16 00:06 by BreamoreBoy.

Messages (4)
msg68556 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2008-06-22 03:47
test_pydoc relies on pristine data to verify that the tests pass.
Unfortunately there is no automated way to regenerate that pristine
data, making the test easily fail if something global (e.g., __loader__
attributes on all modules) is introduced.

This was seen on Python 3.0 but might also be an issue in 2.6.
msg68649 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-06-23 21:29
Actually, I was wondering if the comparison testing is even worthwhile.
All it's really going to tell is if something has changed, not if it's
msg114595 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-08-21 23:02
msg221852 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-29 15:49
Is this still an issue?  I'd try to reproduce it myself but there is very little data in the original report.
Date User Action Args
2019-03-16 00:06:00BreamoreBoysetnosy: - BreamoreBoy
2014-06-29 15:49:23BreamoreBoysetnosy: + BreamoreBoy

messages: + msg221852
versions: + Python 3.4, Python 3.5, - Python 3.0
2013-01-11 16:04:33brett.cannonsetnosy: - brett.cannon
2010-08-21 23:04:18eric.araujosetnosy: + eric.araujo
2010-08-21 23:02:59georg.brandlsetnosy: + georg.brandl
messages: + msg114595
2008-06-23 21:29:15benjamin.petersonsetmessages: + msg68649
2008-06-22 03:47:06brett.cannoncreate