tests/integrations/subprocess/test_creationflag_constants.py
raw| 1 | import subprocess |
| 2 | import sys |
| 3 | |
| 4 | import pytest |
| 5 | |
| 6 | from .conftest import CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW |
| 7 | |
| 8 | |
| 9 | @pytest.mark.skipif(sys.platform != "win32", reason="requires Windows") |
| 10 | def test_creationflag_constants(): |
| 11 | assert subprocess.CREATE_NEW_PROCESS_GROUP == CREATE_NEW_PROCESS_GROUP |
| 12 | assert subprocess.CREATE_NO_WINDOW == CREATE_NO_WINDOW |