          assert serializer.is_valid()
          assert serializer['text'].value == 'abc'
          assert serializer['text'].errors is None
          assert serializer['text'].name == 'text'
          assert serializer['amount'].value is 123
          assert serializer['amount'].errors is None
          assert serializer['amount'].name == 'amount'
  
      def test_error_bound_field(self):
          class ExampleSerializer(serializers.Serializer):
 
</s> remove         assert serializer['amount'].value is 123
 </s> add         assert serializer['amount'].value == 123 </s> remove         assert output is 123
 </s> add         assert output == 123 </s> remove         super(TestUrlPatternTestCase, cls).tearDownClass()
 </s> add         super().tearDownClass() </s> remove         class DummyView(object):
 </s> add         class DummyView: </s> remove     @unittest.skipUnless(ChainMap, 'requires python 3.3')
 </s> add 
        assert serializer['amount'].value == 123
          assert serializer.is_valid()
          assert serializer['text'].value == 'abc'
          assert serializer['text'].errors is None
          assert serializer['text'].name == 'text'
        assert serializer['amount'].value == 123
          assert serializer['amount'].errors is None
          assert serializer['amount'].name == 'amount'
  
      def test_error_bound_field(self):
          class ExampleSerializer(serializers.Serializer):
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/test_bound_fields.py