AlignmentDBVisualisationTool.importmatplotlib test fails intermittently
AlignmentDBVisualisationTool.importmatplotlib fails because of the following unexpected content in stderr:
Fontconfig error: Cannot load default config file
thanks to @cgobelbu and @chasse for reporting
The underlying reason for that message is described in https://its.cern.ch/jira/browse/LBCORE-2000
There are two things we should do
- Make sure the matplotlib font cache is in a new (temp) directory every time the test runs
- Temporarily set
FONTCONFIG_PATH