@@ -558,7 +558,7 @@ def test_versioned_pklization(tmpdir):
558
558
with mock .patch ('nipype.utils.tests.test_filemanip.Pickled' , PickledBreaker ), \
559
559
mock .patch ('nipype.__version__' , '0.0.0' ):
560
560
561
- loadpkl ('./pickled.pkz' , versioning = True )
561
+ loadpkl ('./pickled.pkz' )
562
562
563
563
564
564
def test_unversioned_pklization (tmpdir ):
@@ -569,7 +569,7 @@ def test_unversioned_pklization(tmpdir):
569
569
570
570
with pytest .raises (Exception ):
571
571
with mock .patch ('nipype.utils.tests.test_filemanip.Pickled' , PickledBreaker ):
572
- loadpkl ('./pickled.pkz' , versioning = True )
572
+ loadpkl ('./pickled.pkz' )
573
573
574
574
575
575
def test_Path_strict_resolve (tmpdir ):
@@ -589,11 +589,10 @@ def test_Path_strict_resolve(tmpdir):
589
589
assert '%s/somefile.txt' % tmpdir == '%s' % testfile .resolve (strict = True )
590
590
591
591
592
- @pytest .mark .parametrize ("load_versioning" , [True , False ])
593
592
@pytest .mark .parametrize ("save_versioning" , [True , False ])
594
- def test_pickle (tmp_path , save_versioning , load_versioning ):
593
+ def test_pickle (tmp_path , save_versioning ):
595
594
testobj = 'iamateststr'
596
595
pickle_fname = str (tmp_path / 'testpickle.pklz' )
597
596
savepkl (pickle_fname , testobj , versioning = save_versioning )
598
- outobj = loadpkl (pickle_fname , versioning = load_versioning )
597
+ outobj = loadpkl (pickle_fname )
599
598
assert outobj == testobj
0 commit comments