allensdk.test_utilities.custom_comparators module

class allensdk.test_utilities.custom_comparators.WhitespaceStrippedString(string: str, whitespace_chars: str = '\s', ASCII: bool = False)[source]

Bases: object

Comparator class to compare strings that have been stripped of
whitespace. By default removes any unicode whitespace character that matches the regex s, (which includes [
], and other unicode
whitespace characters).