Skip to content

Commit

Permalink
Tests: Fix regression-test for pyinstaller#2492.
Browse files Browse the repository at this point in the history
In CI tests are run with --debug, which will make the graph and xref
files to be written- For this the filenames need to be defined :-(
  • Loading branch information
htgoebel committed Mar 11, 2017
1 parent 678e39b commit 1bae63d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/functional/test_regression.py
Expand Up @@ -23,6 +23,8 @@ def test_issue_2492(monkeypatch, tmpdir):
{'workpath': str(tmpdir),
'spec': str(tmpdir),
'warnfile': str(tmpdir.join('warn.txt')),
'dot-file': str(tmpdir.join('imports.dot')),
'xref-file': str(tmpdir.join('imports.xref')),
'hiddenimports': []})
# Speedup: avoid analyzing base_library.zip
monkeypatch.setattr(analysis, 'PY3_BASE_MODULES', [])
Expand Down

0 comments on commit 1bae63d

Please sign in to comment.