Skip to content

Commit

Permalink
Merge branch 'tickets/DM-37727'
Browse files Browse the repository at this point in the history
  • Loading branch information
sr525 committed Nov 30, 2023
2 parents 6f1216f + aadb198 commit 2de8f1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ def _validateSchema(self, dataset, dataId, tableName):
self.assertEqual(len(sdmSchema), 1)
expectedColumnNames = set(column['name'] for column in sdmSchema[0]['columns'])

df = self.butler.get(dataset, dataId)
df.reset_index(inplace=True)
outputColumnNames = set(df.columns.to_list())
df = self.butler.get(dataset, dataId, storageClass="ArrowAstropy")
outputColumnNames = set(df.colnames)
self.assertEqual(outputColumnNames, expectedColumnNames)

def testObjectSchemaMatch(self):
Expand Down

0 comments on commit 2de8f1a

Please sign in to comment.