summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:54:15 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:54:15 (GMT)
commitbd2835c6ae7e707b98ace515ef1764ffe6bff267 (patch)
tree4336918f1f9cb9e70d3e6786c2cd6ef7695b7555 /Lib/test
parent7096760b2511df9b0e2ec846df9eb72c59e785fc (diff)
downloadcpython-bd2835c6ae7e707b98ace515ef1764ffe6bff267.zip
cpython-bd2835c6ae7e707b98ace515ef1764ffe6bff267.tar.gz
cpython-bd2835c6ae7e707b98ace515ef1764ffe6bff267.tar.bz2
as is a keyword now :-)
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/test_array.py14
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)