This was failing before because DDT was trying to get an attribute from an XSS Lint RuleSet object but that was throwing an exception because the RuleSet object didn't have that attribute. In python 2 such exceptions were automatically swallowed by the getattr function but in python 3 they get raised.