Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
warning, getting a Counter while expecting a dict shouldn't raise. On the other hand, getting a dict while expecting a Counter should definitely raise.
It's not explicit in the description, but there is a test section that is very clear about the intent:
@test.it("Handle inheritance correctly")
I didn't solve this kata, but:
In my understanding of the kata, it is not the same type (though it can be subclass).
Unless I misunderstood your post: do you mean the kata expects no exception in such cases? If so, I agreee the description is lacking some specifications.