  
  class JoinPromoterTest(SimpleTestCase):
      def test_repr(self):
          self.assertEqual(
              repr(JoinPromoter("AND", 3, True)),
              "JoinPromoter(connector='AND', num_children=3, negated=True)",
          )
 
</s> remove         self.assertEqual(kwargs, {"_connector": "OR"})
 </s> add         self.assertEqual(kwargs, {"_connector": Q.OR}) </s> remove         self.assertEqual(kwargs, {"_connector": "XOR"})
 </s> add         self.assertEqual(kwargs, {"_connector": Q.XOR}) </s> remove         w = WhereNode(children=[empty_w, NothingNode()], connector="AND")
 </s> add         w = WhereNode(children=[empty_w, NothingNode()], connector=AND)
            repr(JoinPromoter(AND, 3, True)),
  
  class JoinPromoterTest(SimpleTestCase):
      def test_repr(self):
          self.assertEqual(
            repr(JoinPromoter(AND, 3, True)),
              "JoinPromoter(connector='AND', num_children=3, negated=True)",
          )
keep keep keep keep replace keep keep
 Used AND, OR, XOR constants instead of hard-coded values. 
tests/queries/test_query.py