@@ -558,7 +558,7 @@ def test_versioned_pklization(tmpdir):
558558 with mock .patch ('nipype.utils.tests.test_filemanip.Pickled' , PickledBreaker ), \
559559 mock .patch ('nipype.__version__' , '0.0.0' ):
560560
561- loadpkl ('./pickled.pkz' , versioning = True )
561+ loadpkl ('./pickled.pkz' )
562562
563563
564564def test_unversioned_pklization (tmpdir ):
@@ -569,7 +569,7 @@ def test_unversioned_pklization(tmpdir):
569569
570570 with pytest .raises (Exception ):
571571 with mock .patch ('nipype.utils.tests.test_filemanip.Pickled' , PickledBreaker ):
572- loadpkl ('./pickled.pkz' , versioning = True )
572+ loadpkl ('./pickled.pkz' )
573573
574574
575575def test_Path_strict_resolve (tmpdir ):
@@ -589,11 +589,10 @@ def test_Path_strict_resolve(tmpdir):
589589 assert '%s/somefile.txt' % tmpdir == '%s' % testfile .resolve (strict = True )
590590
591591
592- @pytest .mark .parametrize ("load_versioning" , [True , False ])
593592@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 ):
595594 testobj = 'iamateststr'
596595 pickle_fname = str (tmp_path / 'testpickle.pklz' )
597596 savepkl (pickle_fname , testobj , versioning = save_versioning )
598- outobj = loadpkl (pickle_fname , versioning = load_versioning )
597+ outobj = loadpkl (pickle_fname )
599598 assert outobj == testobj
0 commit comments