Skip to content

Commit

Permalink
Add pragma nocover for line that is hard to test
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Feb 7, 2025
1 parent eba14a8 commit 2feb09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynwb/ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class EventWaveform(MultiContainerInterface):
}

def __init__(self, **kwargs):
if not self._in_construct_mode:
if not self._in_construct_mode: # pragma: no cover
raise ValueError(
"The EventWaveform neurodata type is deprecated. If you are interested in using it, "
"please create an issue on https://github.com/NeurodataWithoutBorders/nwb-schema/issues."
Expand Down

0 comments on commit 2feb09f

Please sign in to comment.