audeering / audb

Manage audio and video databases
https://audeering.github.io/audb/
Other
23 stars 1 forks source link

TST: relax test for audb.Dependencies.__str__() #423

Closed hagenw closed 1 month ago

hagenw commented 1 month ago

Closes #422

This relaxes the test for the string representation of the dependency table (audb.Dependencies.__str__()), to test only that the actual content is correct, and omitting possible additional information at the end of the string (i.e. https://github.com/audeering/audb/issues/422), which might depend on your pandas configuration.

hagenw commented 1 month ago

To check if this would solve #422, I changed the string representation to self._df.to_string(), but this still leads to a failed test. I guess due to the difference in ... vs listing the actual columns. I will need to relax the test further to also satisfy to_string(), and I will add a test for it.