File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
nipype/interfaces/base/tests Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -288,28 +288,28 @@ class WithoutInput(WithInput):
288
288
_version = "0.6"
289
289
290
290
has = WithInput ()
291
- hasnt = WithoutInput ()
291
+ hasnot = WithoutInput ()
292
292
trying_anyway = WithoutInput (foo = 3 )
293
293
assert has .inputs .foo == 3
294
- assert not nib .isdefined (hasnt .inputs .foo )
294
+ assert not nib .isdefined (hasnot .inputs .foo )
295
295
assert trying_anyway .inputs .foo == 3
296
296
297
297
has .run ()
298
- hasnt .run ()
298
+ hasnot .run ()
299
299
with pytest .raises (Exception ):
300
300
trying_anyway .run ()
301
301
302
302
# Still settable
303
303
has .inputs .foo = 4
304
- hasnt .inputs .foo = 4
304
+ hasnot .inputs .foo = 4
305
305
trying_anyway .inputs .foo = 4
306
306
assert has .inputs .foo == 4
307
- assert hasnt .inputs .foo == 4
307
+ assert hasnot .inputs .foo == 4
308
308
assert trying_anyway .inputs .foo == 4
309
309
310
310
has .run ()
311
311
with pytest .raises (Exception ):
312
- hasnt .run ()
312
+ hasnot .run ()
313
313
with pytest .raises (Exception ):
314
314
trying_anyway .run ()
315
315
You can’t perform that action at this time.
0 commit comments