          assert serializer.is_valid()
          assert serializer.validated_data['context_set'] == 'success'
  
  
  # Tests for field input and output values.
  # ----------------------------------------
  
  def get_items(mapping_or_list_of_two_tuples):
      # Tests accept either lists of two tuples, or dictionaries.
 
</s> remove     @cached_property
 </s> add     @property </s> remove     @cached_property
 </s> add     @property </s> remove from django.utils.functional import cached_property
 </s> add 
class Test5087Regression:
    def test_parent_binding(self):
        parent = serializers.Serializer()
        field = serializers.CharField()

        assert field.root is field
        field.bind('name', parent)
        assert field.root is parent


          assert serializer.is_valid()
          assert serializer.validated_data['context_set'] == 'success'
  
  
class Test5087Regression:
    def test_parent_binding(self):
        parent = serializers.Serializer()
        field = serializers.CharField()

        assert field.root is field
        field.bind('name', parent)
        assert field.root is parent


  # Tests for field input and output values.
  # ----------------------------------------
  
  def get_items(mapping_or_list_of_two_tuples):
      # Tests accept either lists of two tuples, or dictionaries.
keep keep keep add keep keep keep keep keep
 Revert 3288 (#5313)

* Add regression test for #2505. Thanks @pySilver!

* Add regression test for #5087

* Revert "Cached the field's root and context property."

This reverts commit 792005806b50f8aad086a76ff5a742c66a98428e. 
tests/test_fields.py