mirror of
https://github.com/github/codeql.git
synced 2026-06-12 00:11:07 +02:00
6 lines
357 B
Python
6 lines
357 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 # $ Alert[py/side-effect-in-assert]
|