create_db()

audformat.testing.create_db(minimal=False, data=None)[source]

Create test database.

Creates a test database called unittest with a filewise, segmented, and miscellaneous table.

Parameters:
  • minimal (bool) – create minimal database without tables

  • data (dict[str, Series | DataFrame]) – create tables from pandas objects

Return type:

Database

Returns:

database object