mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-08-29 08:56:08 +00:00
Fix PytestCollectionWarning when running tests (#791)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user