MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / test_library_properties

Function test_library_properties

scripts/test_stringzilla.py:152–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151
152def test_library_properties():
153 assert len(sz.__version__.split(".")) == 3, "Semantic versioning must be preserved"
154 assert "serial" in sz.__capabilities__, "Serial backend must be present"
155 assert isinstance(sz.__capabilities_str__, str) and len(sz.__capabilities_str__) > 0
156 sz.reset_capabilities(sz.__capabilities__) # Should not raise
157
158
159@pytest.mark.parametrize("native_type", [str, bytes, bytearray])

Callers

nothing calls this directly

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…