in Python by (5.1k points)

Which of the following decorator is used to report a test as a failure one, if execution of it takes more than the specified number of seconds?

@timecheck

@timed

@timeit

@time

1 Answer

0 votes
by (5.1k points)
Ans is

@timed

Related questions

0 votes
asked Jul 16, 2020 in Python by GeorgeBell (5.1k points)
0 votes
asked Jun 30, 2020 in Python by GeorgeBell (5.1k points)
0 votes
asked May 17, 2019 in Python by Derya (515 points)
...