test(mcp): import os and pytest in test_mcp_stability

The salvaged grandchild-reaping tests reference os.getpgid/os.killpg and
pytest.mark/skip/importorskip directly, but the file only imported asyncio,
signal, and unittest.mock. Add the missing imports so collection succeeds
on current main.
This commit is contained in:
teknium1
2026-05-30 01:44:27 -07:00
committed by Teknium
parent a29d64e50c
commit 41decf2c4a

View File

@ -1,9 +1,12 @@
"""Tests for MCP stability fixes — event loop handler, PID tracking, shutdown robustness."""
import asyncio
import os
import signal
from unittest.mock import patch, MagicMock
import pytest
# ---------------------------------------------------------------------------