Skip to content

Commit 761b620

Browse files
committed
[DATALAD RUNCMD] rename hasnt var into hasnot to make codespell happier
=== Do not change lines below === { "chain": [], "cmd": "git-sedi hasnt hasnot", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 912c700 commit 761b620

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nipype/interfaces/base/tests/test_core.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,28 +288,28 @@ class WithoutInput(WithInput):
288288
_version = "0.6"
289289

290290
has = WithInput()
291-
hasnt = WithoutInput()
291+
hasnot = WithoutInput()
292292
trying_anyway = WithoutInput(foo=3)
293293
assert has.inputs.foo == 3
294-
assert not nib.isdefined(hasnt.inputs.foo)
294+
assert not nib.isdefined(hasnot.inputs.foo)
295295
assert trying_anyway.inputs.foo == 3
296296

297297
has.run()
298-
hasnt.run()
298+
hasnot.run()
299299
with pytest.raises(Exception):
300300
trying_anyway.run()
301301

302302
# Still settable
303303
has.inputs.foo = 4
304-
hasnt.inputs.foo = 4
304+
hasnot.inputs.foo = 4
305305
trying_anyway.inputs.foo = 4
306306
assert has.inputs.foo == 4
307-
assert hasnt.inputs.foo == 4
307+
assert hasnot.inputs.foo == 4
308308
assert trying_anyway.inputs.foo == 4
309309

310310
has.run()
311311
with pytest.raises(Exception):
312-
hasnt.run()
312+
hasnot.run()
313313
with pytest.raises(Exception):
314314
trying_anyway.run()
315315

0 commit comments

Comments
 (0)