diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2015-07-12 00:29:34 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2015-07-12 00:29:34 +0200 |
commit | ddc53885e1b66b6e4e7d299d2c808ddc472913b9 (patch) | |
tree | 0a6eb451c9d79a0a3b77f2387e31bb1486b4578d /numpy/testing/print_coercion_tables.py | |
parent | 57e6b4b1de8c50641119b3f11ba62e660eece95a (diff) | |
parent | ad40c230c4da2ca336bed6b093e8efaba590eec3 (diff) | |
download | numpy-ddc53885e1b66b6e4e7d299d2c808ddc472913b9.tar.gz |
Merge pull request #6049 from charris/pep8-numpy-testing
PEP8 and pyflakes fixups for numpy/testing and numpy/testing/tests
Diffstat (limited to 'numpy/testing/print_coercion_tables.py')
-rwxr-xr-x | numpy/testing/print_coercion_tables.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/testing/print_coercion_tables.py b/numpy/testing/print_coercion_tables.py index bde82a666..3a359f472 100755 --- a/numpy/testing/print_coercion_tables.py +++ b/numpy/testing/print_coercion_tables.py @@ -21,7 +21,8 @@ class GenericObject(object): def print_cancast_table(ntypes): print('X', end=' ') - for char in ntypes: print(char, end=' ') + for char in ntypes: + print(char, end=' ') print() for row in ntypes: print(row, end=' ') @@ -31,7 +32,8 @@ def print_cancast_table(ntypes): def print_coercion_table(ntypes, inputfirstvalue, inputsecondvalue, firstarray, use_promote_types=False): print('+', end=' ') - for char in ntypes: print(char, end=' ') + for char in ntypes: + print(char, end=' ') print() for row in ntypes: if row == 'O': |