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,6 +8,11 @@ import sys
|
|||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
pytest.skip('pexpect.spawn is not available on Windows', allow_module_level=True)
|
||||||
|
else:
|
||||||
import pexpect
|
import pexpect
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user