Skip to content

Commit

Permalink
fix: remove timeout deprecate warning
Browse files Browse the repository at this point in the history
  • Loading branch information
igor udot (horw) committed Nov 14, 2023
1 parent 7d0ee35 commit 1b3c212
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pytest-embedded-idf/pytest_embedded_idf/unity_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,14 +879,9 @@ def run_case(
Args:
case: the specific case that parsed in test menu
reset: whether to perform a hardware reset before running a case
timeout: timeout in second
timeout: timeout in second, setup time excluded
start_retry (int): number of retries for a single case when it is failed to start
"""
warnings.warn(
'Current timeout logic not clear: currently it is a sum of wait board menu time and runtest time.'
'Will be renamed and split into two time in future',
DeprecationWarning,
)

if case.attributes.get('timeout'):
timeout = int(case.attributes['timeout'])
Expand Down

0 comments on commit 1b3c212

Please sign in to comment.