[New-bugs-announce] [issue27807] Prevent site-packages .pth files from causing test_site failure

Chris Angelico report at bugs.python.org
Fri Aug 19 18:05:23 EDT 2016


New submission from Chris Angelico:

Having matplotlib installed globally causes test_site to fail, due to the .pth file importing types. The point of the test is to monitor startup dependencies (and thus time) for the core interpreter and standard library, not third-party libraries, so having a test failure due to a .pth is not overly useful.

Solution suggested by Steve Dower: hack out all .pth handling during this one test, leaving everything else unchanged.

----------
components: Tests
messages: 273160
nosy: Rosuav
priority: normal
severity: normal
status: open
title: Prevent site-packages .pth files from causing test_site failure
type: behavior
versions: Python 3.6

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


More information about the New-bugs-announce mailing list