          class ExampleSerializer(serializers.Serializer):
              email = serializers.EmailField()
              password = serializers.CharField(write_only=True)
  
              def create(self, attrs):
                  return attrs
  
          self.Serializer = ExampleSerializer
  
      def test_write_only_fields_are_present_on_input(self):
          data = {
              'email': 'foo@example.com',
 
</s> remove         pass
 </s> add         raise NotImplementedError()  # pragma: no cover </s> remove         pass
 </s> add         raise NotImplementedError()  # pragma: no cover </s> remove         try:
 </s> add         with pytest.raises(TypeError) as excinfo: </s> remove         pass
 </s> add         raise NotImplementedError()  # pragma: no cover </s> remove         pass
 </s> add         raise NotImplementedError()  # pragma: no cover
          class ExampleSerializer(serializers.Serializer):
              email = serializers.EmailField()
              password = serializers.CharField(write_only=True)
  



          self.Serializer = ExampleSerializer
  
      def test_write_only_fields_are_present_on_input(self):
          data = {
              'email': 'foo@example.com',
keep keep keep keep replace replace replace keep keep keep keep keep
 tests: remove some dead code, use `assert 0` for never called methods (#5973)

* tests: remove some dead code, use `assert 0` for never called methods

* fixup! tests: remove some dead code, use `assert 0` for never called methods 
tests/test_write_only_fields.py