After reviewer comments, removed try/except around import pytest

This commit is contained in:
David Murphy 2022-01-25 09:55:53 -07:00 committed by Gareth J. Greenaway
parent 2aa952bffc
commit fd8060c58c

View file

@ -1,14 +1,10 @@
import logging
import sys
import pytest
import salt.modules.status as status
from tests.support.mock import MagicMock, patch
try:
import pytest
except ImportError:
pytest = None
log = logging.getLogger(__name__)