mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-01 11:26:15 +00:00
test: format all test scripts
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||
def test_pthread(dut: Dut) -> None:
|
||||
|
||||
# Note: this test doesn't really confirm anything, except that threads are created
|
||||
# and stdout is not being corrupted by multiple threads printing ot it.
|
||||
dut.expect(r'Created thread 0x[\da-f]+')
|
||||
|
Reference in New Issue
Block a user