diff options
| author | Guido van Rossum <guido@python.org> | 2007-10-16 18:12:55 +0000 | 
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-10-16 18:12:55 +0000 | 
| commit | 3172c5d263eeffff1e89d03d79be3ccc1d60fbde (patch) | |
| tree | a35e103b36b684c4682ded57236199d6a0ecee4b /Lib/test/test___future__.py | |
| parent | 60d241f135f10312f5a638846659d7e471f6cac9 (diff) | |
| download | cpython-git-3172c5d263eeffff1e89d03d79be3ccc1d60fbde.tar.gz | |
Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
Diffstat (limited to 'Lib/test/test___future__.py')
| -rw-r--r-- | Lib/test/test___future__.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test___future__.py b/Lib/test/test___future__.py index 50a2c74ad0..9504155499 100644 --- a/Lib/test/test___future__.py +++ b/Lib/test/test___future__.py @@ -39,7 +39,7 @@ class FutureTest(unittest.TestCase):                  a(isinstance(major, int), "%s major isn't int"  % name)                  a(isinstance(minor, int), "%s minor isn't int" % name)                  a(isinstance(micro, int), "%s micro isn't int" % name) -                a(isinstance(level, basestring), +                a(isinstance(level, str),                      "%s level isn't string" % name)                  a(level in GOOD_SERIALS,                         "%s level string has unknown value" % name)  | 
