def METHOD_NAME(self):
    query_copy = self.query.copy()
    for attr in ("_family", "_slant", "_variant", "_weight",
                 "_stretch", "_size", "_file"):
        self.assertEqual(getattr(self.query, attr),
                         getattr(query_copy, attr))
    # Compare the strings too
    self.assertEqual(str(self.query), str(query_copy))
    # And the hashes
    self.assertEqual(hash(self.query), hash(query_copy))