Skip to content

Commit fc6997c

Browse files
authored
Merge pull request #1775 from NeuralEnsemble/black-formatting
Black formatting
2 parents b404802 + f7c52fa commit fc6997c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo/test/rawiotest/test_spikegadgetsrawio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ def test_parse_header_missing_channels(self):
5656
def test_opening_gibberish_file(self):
5757
"""Test that parsing a file without </Configuration> raises ValueError instead of infinite loop."""
5858
# Create a temporary file with gibberish content that doesn't have the required tag
59-
with tempfile.NamedTemporaryFile(mode='wb', suffix='.rec') as temp_file:
59+
with tempfile.NamedTemporaryFile(mode="wb", suffix=".rec") as temp_file:
6060
# Write simple gibberish content without the required </Configuration> tag
6161
temp_file.write(b"gibberish\n")
6262
temp_file.flush()
63-
63+
6464
reader = SpikeGadgetsRawIO(filename=temp_file.name)
6565
with self.assertRaises(ValueError) as cm:
6666
reader.parse_header()
67-
67+
6868
self.assertIn("xml header does not contain '</Configuration>'", str(cm.exception))

0 commit comments

Comments
 (0)