def METHOD_NAME(self):
    # Family is always converted to a list
    self.query.set_family("cursive")
    self.assertListEqual(self.query.get_family(), ["cursive"])
    # Family can be unset
    self.query.set_family(None)
    self.assertIsNone(self.query.get_family())
    # Family can be a bytestring
    self.query.set_family("Arial".encode("utf8"))
    self.assertListEqual(self.query.get_family(), ["Arial"])
    filename = "not a real file.ttf"
    self.query.set_file(filename)
    self.assertEqual(self.query.get_file(), filename)
    # set_name is a synonym for set_family
    self.query.set_name("Verdana")
    self.assertListEqual(self.query.get_family(), ["Verdana"])
    # set_style has requirements
    with self.assertRaises(ValueError):
        self.query.set_style("post-modern")
    self.query.set_style("oblique")
    self.assertEqual(self.query.get_style(), "oblique")
    # set_variant has requirements
    with self.assertRaises(ValueError):
        self.query.set_variant("rad")
    self.query.set_variant("normal")
    self.assertEqual(self.query.get_variant(), "normal")
    # set_weight takes many input types
    with self.assertRaises(ValueError):
        self.query.set_weight("superduperdark")
    with self.assertRaises(ValueError):
        self.query.set_weight(-42)
    with self.assertRaises(ValueError):
        self.query.set_weight(3000)
    self.query.set_weight(500)
    self.assertEqual(self.query.get_weight(), 500)
    self.query.set_weight("bold")
    self.assertEqual(self.query.get_weight(), "bold")
    # set_stretch has requirements
    with self.assertRaises(ValueError):
        self.query.set_stretch("condensed-matter")
    with self.assertRaises(ValueError):
        self.query.set_stretch(-42)
    with self.assertRaises(ValueError):
        self.query.set_stretch(3000)
    self.query.set_stretch("semi-condensed")
    self.assertEqual(self.query.get_stretch(), "semi-condensed")
    self.query.set_stretch(300)
    self.assertEqual(self.query.get_stretch(), 300)
    # default
    self.query.set_stretch(None)
    self.assertEqual(self.query.get_stretch(), 500)
    # set_size has requirements
    with self.assertRaises(ValueError):
        self.query.set_size("itsy-bitsy")
    self.query.set_size(36)
    self.assertEqual(self.query.get_size(), 36.0)