[New-bugs-announce] [issue5918] test_parser crashes when run after test_distutils

Antoine Pitrou report at bugs.python.org
Mon May 4 02:01:14 CEST 2009


New submission from Antoine Pitrou <pitrou at free.fr>:

This happens sometimes here on trunk, in non-debug mode:

$ ./python -m test.regrtest test_distutils test_parser
Could not find '/home/antoine/cpython/__svn__/Lib/test' in sys.path to
remove it
test_distutils
0 blocks
find:
`/home/antoine/tmp/tmpngdCYU/foo/build/bdist.linux-x86_64/rpm/BUILDROOT/foo-0.1-1.x86_64/usr/lib/debug':
Aucun fichier ou dossier de ce type
0 blocks
find:
`/home/antoine/tmp/tmp431p68/foo/build/bdist.linux-x86_64/rpm/BUILDROOT/foo-0.1-1.x86_64/usr/lib/debug':
Aucun fichier ou dossier de ce type
test_parser
Erreur de segmentation (core dumped)


Perhaps test_distutils sets something up which makes Python import the
wrong version of the "parser" module.

----------
assignee: tarek
components: Distutils, Tests
messages: 87087
nosy: pitrou, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: test_parser crashes when run after test_distutils
type: crash
versions: Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5918>
_______________________________________


More information about the New-bugs-announce mailing list