fixture_version#

lsst.images.tests.fixture_version(schema_version)#

Return the fixture-filename version for a schema version.

Parameters:

schema_version (str) – Schema version string, e.g. 1.0.0 or 1.0.0.dev0.

Returns:

The release part, with a bare .dev suffix for a development release. The exact development counter lives only in the schema_version stamp inside the file, so a development schema has exactly one fixture path whatever its counter.

Return type:

str

This page was last modified on .