Fix PytestCollectionWarning when running tests (#791)

This commit is contained in:
Sasha Krassovsky
2023-05-24 23:17:57 -07:00
committed by GitHub
parent 0400315078
commit b258af117a
+1
View File
@@ -5,6 +5,7 @@ from tinygrad.ops import LazyOp, BinaryOps, ReduceOps, get_lazyop_info
from tinygrad.helpers import DType, dtypes
class TestBuffer(NamedTuple):
__test__ = False # To prevent pytest from collecting this as a test
shape: Tuple[int, ...]
dtype: DType