  import unittest
  
  from django.utils.tree import Node
  
  
  class NodeTests(unittest.TestCase):
 
</s> remove from django.db.models.sql.where import NothingNode, WhereNode
 </s> add from django.db.models.sql.where import AND, OR, NothingNode, WhereNode </s> remove from django.db.models.sql.where import OR
 </s> add from django.db.models.sql.where import AND, OR </s> remove             repr(JoinPromoter("AND", 3, True)),
 </s> add             repr(JoinPromoter(AND, 3, True)), </s> remove         w = WhereNode(children=[empty_w, NothingNode()], connector="AND")
 </s> add         w = WhereNode(children=[empty_w, NothingNode()], connector=AND)
from django.db.models.sql import AND, OR
  import unittest
  
from django.db.models.sql import AND, OR
  from django.utils.tree import Node
  
  
  class NodeTests(unittest.TestCase):
keep add keep keep keep keep
 Used AND, OR, XOR constants instead of hard-coded values. 
tests/utils_tests/test_tree.py