This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2011-01-21.11:14:42
SpamBayes Score 4.646506e-05
Marked as misclassified No
Message-id <1295608490.51.0.226657873121.issue10971@psf.upfronthosting.co.za>
In-reply-to
Content
"./python Lib/test/regrtest.py test_zipimport_support" pass, but not with the -R option.

----
$ ./python Lib/test/regrtest.py -R 3:3: test_zipimport_support
[1/1] test_zipimport_support
beginning 6 repetitions
123456
test test_zipimport_support failed -- Traceback (most recent call last):
  File "/home/haypo/prog/SVN/py3k/Lib/test/test_zipimport_support.py", line 96, in test_inspect_getsource_issue4223
    self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
  File "/home/haypo/prog/SVN/py3k/Lib/inspect.py", line 693, in getsource
    lines, lnum = getsourcelines(object)
  File "/home/haypo/prog/SVN/py3k/Lib/inspect.py", line 682, in getsourcelines
    lines, lnum = findsource(object)
  File "/home/haypo/prog/SVN/py3k/Lib/inspect.py", line 530, in findsource
    raise IOError('could not get source code')
IOError: could not get source code

1 test failed:
    test_zipimport_support
----
History
Date User Action Args
2011-01-21 11:14:50vstinnersetrecipients: + vstinner
2011-01-21 11:14:50vstinnersetmessageid: <1295608490.51.0.226657873121.issue10971@psf.upfronthosting.co.za>
2011-01-21 11:14:42vstinnerlinkissue10971 messages
2011-01-21 11:14:42vstinnercreate