mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
This is a temporary fix! Added minimal working example (MWE) as a regression, so it's easier to fix the real problem. only Python 3 is facing the problem -- and without --max-import-depth=1 the test times out at 10 minutes :O
6 lines
321 B
Python
6 lines
321 B
Python
# For now, this test lives in its own file, since including them in the top of assert.py
|
|
# messes up the results of the refers-to/points-to analysis
|
|
# see /home/rasmus/code/ql/python/ql/test/library-tests/PointsTo/regressions/subprocess-assert/mwe_failure.py
|
|
import subprocess
|
|
assert subprocess.call(['run-backup']) == 0
|