assertSchemasEqual¶
-
lsst.afw.table.testUtils.
assertSchemasEqual
(testCase, schema1, schema2, flags=31)¶ Assert that two Schemas are equal.
Generates a message from the difference between the schemas; see
diffSchemas()
for more information.- Parameters
- testCase :
Comparison test case that should fail is schemas differ.
- schema1
lsst.afw.table.Schema
First input schema.
- schema2
lsst.afw.table.Schema
Second input schema.
- flags
int
A bitwise OR of
lsst.afw.table.Schema.ComparisonFlags
indicating which features of schema items to compare.