diff options
Diffstat (limited to 'Lib/test/test___future__.py')
-rw-r--r-- | Lib/test/test___future__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test___future__.py b/Lib/test/test___future__.py index 3ae1cf1..b8ef120 100644 --- a/Lib/test/test___future__.py +++ b/Lib/test/test___future__.py @@ -10,10 +10,9 @@ for feature in features: value = getattr(__future__, feature) if verbose: print "Checking __future__ ", feature, "value", value - verify(type(value) is TupleType, "feature value isn't tuple") - verify(len(value) == 2, "feature value isn't 2-tuple") - optional, mandatory = value + optional = value.getOptionalRelease() + mandatory = value.getMandatoryRelease() verify(type(optional) is TupleType, "optional isn't tuple") verify(len(optional) == 5, "optional isn't 5-tuple") |