bitbake: bitbake: tests/fetch: Mark TestTimeout as not a test suite

pytest test collection attempts to collect all classes containing
"Test". TestTimeout is not a test class so add the __test__ = False
attribute to indicate this.

(Bitbake rev: b5455b98093a3eaf122ebe3d29c3bef949fd2440)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Hoyes
2023-06-16 13:36:47 +01:00
committed by Richard Purdie
parent bf65b87432
commit a7b74c0b73

View File

@@ -24,7 +24,8 @@ def skipIfNoNetwork():
return lambda f: f
class TestTimeout(Exception):
pass
# Indicate to pytest that this is not a test suite
__test__ = False
class Timeout():