summaryrefslogtreecommitdiff
path: root/py/test/Ice/exceptions/AllTests.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-09-17 10:38:22 +0200
committerBenoit Foucher <benoit@zeroc.com>2013-09-17 10:38:22 +0200
commite9386321e362ab7e84880360e91e61fad1d528f5 (patch)
treee448ff6f1c7b404919f625ee9c67defda729d57e /py/test/Ice/exceptions/AllTests.py
parentFixed testicedist.py typo (diff)
downloadice-e9386321e362ab7e84880360e91e61fad1d528f5.tar.bz2
ice-e9386321e362ab7e84880360e91e61fad1d528f5.tar.xz
ice-e9386321e362ab7e84880360e91e61fad1d528f5.zip
Fixed ICE-5426 - bogus version check
Diffstat (limited to 'py/test/Ice/exceptions/AllTests.py')
-rw-r--r--py/test/Ice/exceptions/AllTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/test/Ice/exceptions/AllTests.py b/py/test/Ice/exceptions/AllTests.py
index 002fda5b7e1..bbc89a0e0a3 100644
--- a/py/test/Ice/exceptions/AllTests.py
+++ b/py/test/Ice/exceptions/AllTests.py
@@ -10,9 +10,9 @@
import Ice, Test, threading, sys, array
#
-# There isn't xrange in python 3.x
+# xrange is not supported with python >= 3.x
#
-if sys.version_info.major >= 3:
+if sys.version_info[0] >= 3:
xrange = range
def test(b):