def assertAttributesInIdentifiers(self, ast, expected_id_attr_map):
        footstamps = {id_name: False for id_name in expected_id_attr_map}

        def on_enter_handler(node):
            if node not in IDENTIFIER_ATTRIBUTE:
                return

            id_name = node['value']
            footstamps[id_name] = True

            # Print id_name for debugging
            pprint((NodeType(node['type']), id_name))
            self.assertEqual(expected_id_attr_map[id_name], node[IDENTIFIER_ATTRIBUTE])

        traverse(ast, on_enter=on_enter_handler)

        # Check all identifier like node was tested
        self.assertTrue(all(footstamps.values()),
                        self._create_fail_message_for_assertion_attr(footstamps))
dataset/ETHPy150Open Kuniwak/vint/test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py/TestIdentifierClassifier.assertAttributesInIdentifiers/swapped operands of `not in`