diff options
author | Stephan Hoyer <shoyer@gmail.com> | 2016-09-30 20:20:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-30 20:20:02 -0400 |
commit | 39e2bc344f80151469fad4ac5cac55d682874553 (patch) | |
tree | c32552faacb2649caf10faf08ab7a7036fd1cad3 | |
parent | 86c780d1c60473b594db7a241419167ebc3df687 (diff) | |
parent | a7eb3c7452afabde4cc69a85d8e1e5145ce05412 (diff) | |
download | numpy-39e2bc344f80151469fad4ac5cac55d682874553.tar.gz |
Merge pull request #8104 from gut/fix-test-code
Fix test code on cpuinfo's main function
-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() |