Part of bzrlib.tests.per_repository_chk
CHK support is optional, and when it is not supported the methods and attributes CHK support added should fail in known ways.