diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:55:46 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:55:46 (GMT) |
commit | c72f501aa24e44ebe0073cfdecf4a15ad9179c35 (patch) | |
tree | 6af7007f199b6e54b208fd59d24fd7b99e0e6b3d | |
parent | d5f8ec27a8b73fc8bfa6a959bceb66b526936f0a (diff) | |
download | cpython-c72f501aa24e44ebe0073cfdecf4a15ad9179c35.zip cpython-c72f501aa24e44ebe0073cfdecf4a15ad9179c35.tar.gz cpython-c72f501aa24e44ebe0073cfdecf4a15ad9179c35.tar.bz2 |
as is on the road to keyword-hood, use a different var name.
-rwxr-xr-x | Lib/test/test_array.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 078d727..87d395d 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -205,7 +205,7 @@ class BaseTest(unittest.TestCase): self.assert_((a > a) is False) self.assert_((a >= a) is True) - as = array.array(self.typecode, self.smallerexample) + al = array.array(self.typecode, self.smallerexample) ab = array.array(self.typecode, self.biggerexample) self.assert_((a == 2*a) is False) @@ -215,12 +215,12 @@ class BaseTest(unittest.TestCase): self.assert_((a > 2*a) is False) self.assert_((a >= 2*a) is False) - self.assert_((a == as) is False) - self.assert_((a != as) is True) - self.assert_((a < as) is False) - self.assert_((a <= as) is False) - self.assert_((a > as) is True) - self.assert_((a >= as) is True) + self.assert_((a == al) is False) + self.assert_((a != al) is True) + self.assert_((a < al) is False) + self.assert_((a <= al) is False) + self.assert_((a > al) is True) + self.assert_((a >= al) is True) self.assert_((a == ab) is False) self.assert_((a != ab) is True) |