aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/py/gflags/gflags/flags_unicode_literals_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/py/gflags/gflags/flags_unicode_literals_test.py')
-rw-r--r--third_party/py/gflags/gflags/flags_unicode_literals_test.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/third_party/py/gflags/gflags/flags_unicode_literals_test.py b/third_party/py/gflags/gflags/flags_unicode_literals_test.py
deleted file mode 100644
index cb20887c13..0000000000
--- a/third_party/py/gflags/gflags/flags_unicode_literals_test.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-"""Test the use of flags when from __future__ import unicode_literals is on."""
-
-from __future__ import unicode_literals
-
-import unittest
-import gflags
-
-
-gflags.DEFINE_string('seen_in_crittenden', 'alleged mountain lion',
- 'This tests if unicode input to these functions works.')
-
-
-class FlagsUnicodeLiteralsTest(unittest.TestCase):
-
- def testUnicodeFlagNameAndValueAreGood(self):
- alleged_mountain_lion = gflags.FLAGS.seen_in_crittenden
- self.assertTrue(
- isinstance(alleged_mountain_lion, type(u'')),
- msg='expected flag value to be a {} not {}'.format(
- type(u''), type(alleged_mountain_lion)))
- self.assertEqual(alleged_mountain_lion, u'alleged mountain lion')
-
-
-if __name__ == '__main__':
- unittest.main()