We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb7730 commit b261208Copy full SHA for b261208
nipype/interfaces/tests/test_base.py
@@ -156,15 +156,6 @@ class DeprecationSpec1(nib.TraitedSpec):
156
with pytest.raises(nib.TraitError): set_foo()
157
assert len(w) == 0, 'no warnings, just errors'
158
159
- with warnings.catch_warnings(record=True) as w:
160
- warnings.filterwarnings('always', '', UserWarning)
161
-
162
- class DeprecationSpec1numeric(nib.TraitedSpec):
163
- foo = nib.traits.Int(deprecated='0.1')
164
- spec_instance = DeprecationSpec1numeric()
165
- set_foo = lambda: setattr(spec_instance, 'foo', 1)
166
- with pytest.raises(nib.TraitError): set_foo()
167
- assert len(w) == 0, 'no warnings, just errors'
168
169
with warnings.catch_warnings(record=True) as w:
170
warnings.filterwarnings('always', '', UserWarning)
0 commit comments