mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
fix: skip the variants test without jsonschema
This commit is contained in:
1 parent
3a29d5b56a
commit
eead810015
1 file changed
+4
-1
@@ -4868,7 +4868,10 @@ class AProfilePathIsTheEmulatorsNotOurs(unittest.TestCase):
|
||||
def test_a_variants_path_is_refused(self):
|
||||
from unittest import mock
|
||||
|
||||
from scripts import validate_schemas
|
||||
try:
|
||||
from scripts import validate_schemas
|
||||
except ImportError as exc:
|
||||
self.skipTest(f"validate_schemas needs jsonschema: {exc}")
|
||||
|
||||
with tempfile.TemporaryDirectory(dir=TMP_ROOT) as directory:
|
||||
emulators = Path(directory) / "emulators"
|
||||
|
||||
Reference in new issue
Block a user