                  raise TypeError
          assert qs_exists(TypeErrorQueryset()) is False
  
      def test_qs_exists_handles_value_error(self):
          class ValueErrorQueryset(object):
              def exists(self):
                  raise ValueError
          assert qs_exists(ValueErrorQueryset()) is False
  
      def test_qs_exists_handles_data_error(self):
 
</s> remove         class DataErrorQueryset(object):
 </s> add         class DataErrorQueryset: </s> remove         class TypeErrorQueryset(object):
 </s> add         class TypeErrorQueryset: </s> remove             field.run_validation(u'slug-99-\u0420')
 </s> add             field.run_validation('slug-99-\u0420') </s> remove         class MockPager(object):
 </s> add         class MockPager: </s> remove     class Option(object):
 </s> add     class Option:
        class ValueErrorQueryset:
                  raise TypeError
          assert qs_exists(TypeErrorQueryset()) is False
  
      def test_qs_exists_handles_value_error(self):
        class ValueErrorQueryset:
              def exists(self):
                  raise ValueError
          assert qs_exists(ValueErrorQueryset()) is False
  
      def test_qs_exists_handles_data_error(self):
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_validators.py