diff options
author | Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br> | 2016-09-30 15:24:28 -0300 |
---|---|---|
committer | Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br> | 2016-09-30 15:24:28 -0300 |
commit | a7eb3c7452afabde4cc69a85d8e1e5145ce05412 (patch) | |
tree | c32552faacb2649caf10faf08ab7a7036fd1cad3 /numpy | |
parent | 86c780d1c60473b594db7a241419167ebc3df687 (diff) | |
download | numpy-a7eb3c7452afabde4cc69a85d8e1e5145ce05412.tar.gz |
Fix test code on cpuinfo's main function
Due to future print import (py3k style), the commented code should also
have the strings enclosed with parentheses or else it'll break.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/cpuinfo.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/distutils/cpuinfo.py b/numpy/distutils/cpuinfo.py index 03860c151..dba5a3298 100644 --- a/numpy/distutils/cpuinfo.py +++ b/numpy/distutils/cpuinfo.py @@ -681,13 +681,13 @@ cpu = cpuinfo() # cpu.is_Intel() # cpu.is_Alpha() # -# print 'CPU information:', +# print('CPU information:'), # for name in dir(cpuinfo): # if name[0]=='_' and name[1]!='_': # r = getattr(cpu,name[1:])() # if r: # if r!=1: -# print '%s=%s' %(name[1:],r), +# print('%s=%s' %(name[1:],r)) # else: -# print name[1:], -# print +# print(name[1:]), +# print() |