mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 10:00:57 +02:00
ci(test): Test requiring pexpect.spawn cannot be run on Windows
This commit is contained in:
@@ -8,7 +8,12 @@ import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
import pexpect
|
||||
if sys.platform == 'win32':
|
||||
import pytest
|
||||
|
||||
pytest.skip('pexpect.spawn is not available on Windows', allow_module_level=True)
|
||||
else:
|
||||
import pexpect
|
||||
|
||||
|
||||
class IdfPyQemuTest(unittest.TestCase):
|
||||
|
Reference in New Issue
Block a user