MCPcopy
hub / github.com/beetbox/beets / test_parse_nonstring

Method test_parse_nonstring

test/test_dbcore.py:433–435  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

431 model._db
432
433 def test_parse_nonstring(self):
434 with pytest.raises(TypeError, match="must be a string"):
435 dbcore.Model._parse(None, 42)
436
437 def test_pickle_dump(self):
438 """Tries to pickle an item. This tests the __getstate__ method

Callers

nothing calls this directly

Calls 1

_parseMethod · 0.80

Tested by

no test coverage detected