def test_invalidRecordClass(self):
        """
        loadBindString raises NotImplementedError on invalid records.
        """
        with self.assertRaises(NotImplementedError) as e:
            self.loadBindString(
                b"example.com. IN LOL 192.168.0.1"
            )
        self.assertEqual(
            "Record type 'LOL' not supported", e.exception.args[0]
        )

        loadBindString raises NotImplementedError on invalid records.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_names.py