Skip to content

Commit cca9c16

Browse files
committed
pep8
1 parent a078173 commit cca9c16

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/core-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
strategy:
19-
fail-fast: false
19+
fail-fast: true
2020
matrix:
2121
os: ["ubuntu-latest", "windows-latest"]
2222
# "macos-latest",

neo/test/tools.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,10 @@ def assert_same_sub_schema(ob1, ob2, equal_almost=True, threshold=1e-10, exclude
189189
the comparison
190190
191191
'''
192-
if isinstance(ob1, SpikeTrainList) and isinstance(ob2, list): # for debugging occasional test failure
193-
raise Exception("items={}\nspike_time_array={}\nlist length: {}".format(str(ob1._items), str(ob1._spike_time_array), len(ob2)))
192+
if isinstance(ob1, SpikeTrainList) and isinstance(ob2, list):
193+
# for debugging occasional test failure
194+
raise Exception("items={}\nspike_time_array={}\nlist length: {}".format(
195+
str(ob1._items), str(ob1._spike_time_array), len(ob2)))
194196
assert type(ob1) == type(ob2), 'type({}) != type({})'.format(type(ob1), type(ob2))
195197
classname = ob1.__class__.__name__
196198

0 commit comments

Comments
 (0)