MCPcopy
hub / github.com/tinygrad/tinygrad / test_none

Method test_none

test/null/test_helpers.py:425–427  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

423
424class TestArgFix(unittest.TestCase):
425 def test_none(self):
426 self.assertEqual(argfix(None), (None, ))
427 self.assertEqual(argfix(None, None), (None, None))
428 def test_positional_arguments(self):
429 self.assertEqual(argfix(1, 2, 3), (1, 2, 3))
430 def test_tuple(self):

Callers

nothing calls this directly

Calls 1

argfixFunction · 0.90

Tested by

no test coverage detected