@@ -47,7 +47,7 @@ def _takes_2_seconds(arg_1, arg_2):
4747 return f"arg_1:{ arg_1 } , arg_2:{ arg_2 } "
4848
4949
50- @pytest .mark .pickle
50+ @pytest .mark .pickle ()
5151@pytest .mark .parametrize ("reload" , [True , False ])
5252@pytest .mark .parametrize ("separate_files" , [True , False ])
5353def test_pickle_core (reload , separate_files ):
@@ -67,7 +67,7 @@ def test_pickle_core(reload, separate_files):
6767 _takes_2_seconds_decorated .clear_cache ()
6868
6969
70- @pytest .mark .pickle
70+ @pytest .mark .pickle ()
7171@pytest .mark .parametrize ("separate_files" , [True , False ])
7272def test_pickle_core_keywords (separate_files ):
7373 """Basic Pickle core functionality with keyword arguments."""
@@ -92,7 +92,7 @@ def _stale_after_seconds(arg_1, arg_2):
9292 return random ()
9393
9494
95- @pytest .mark .pickle
95+ @pytest .mark .pickle ()
9696@pytest .mark .parametrize ("separate_files" , [True , False ])
9797def test_stale_after (separate_files ):
9898 """Testing the stale_after functionality."""
@@ -119,7 +119,7 @@ def _stale_after_next_time(arg_1, arg_2):
119119 return random ()
120120
121121
122- @pytest .mark .pickle
122+ @pytest .mark .pickle ()
123123@pytest .mark .parametrize ("separate_files" , [True , False ])
124124def test_stale_after_next_time (separate_files ):
125125 """Testing the stale_after with next_time functionality."""
@@ -153,7 +153,7 @@ def _random_num_with_arg(a):
153153 return random ()
154154
155155
156- @pytest .mark .pickle
156+ @pytest .mark .pickle ()
157157@pytest .mark .parametrize ("separate_files" , [True , False ])
158158def test_overwrite_cache (separate_files ):
159159 """Tests that the overwrite feature works correctly."""
@@ -184,7 +184,7 @@ def test_overwrite_cache(separate_files):
184184 _random_num_with_arg_decorated .clear_cache ()
185185
186186
187- @pytest .mark .pickle
187+ @pytest .mark .pickle ()
188188@pytest .mark .parametrize ("separate_files" , [True , False ])
189189def test_ignore_cache (separate_files ):
190190 """Tests that the ignore_cache feature works correctly."""
@@ -228,7 +228,7 @@ def _calls_takes_time(takes_time_func, res_queue):
228228 res_queue .put (res )
229229
230230
231- @pytest .mark .pickle
231+ @pytest .mark .pickle ()
232232@pytest .mark .parametrize ("separate_files" , [True , False ])
233233def test_pickle_being_calculated (separate_files ):
234234 """Testing pickle core handling of being calculated scenarios."""
@@ -275,7 +275,7 @@ def _calls_being_calc_next_time(being_calc_func, res_queue):
275275 res_queue .put (res )
276276
277277
278- @pytest .mark .pickle
278+ @pytest .mark .pickle ()
279279@pytest .mark .parametrize ("separate_files" , [True , False ])
280280def test_being_calc_next_time (separate_files ):
281281 """Testing pickle core handling of being calculated scenarios."""
@@ -393,8 +393,8 @@ def _helper_bad_cache_file(sleeptime, separate_files):
393393
394394
395395# we want this to succeed at least once
396- @pytest .mark .pickle
397- @pytest .mark .xfail
396+ @pytest .mark .pickle ()
397+ @pytest .mark .xfail ()
398398@pytest .mark .parametrize ("separate_files" , [True , False ])
399399def test_bad_cache_file (separate_files ):
400400 """Test pickle core handling of bad cache files."""
@@ -484,8 +484,8 @@ def _helper_delete_cache_file(sleeptime, separate_files):
484484 return isinstance (res2 , KeyError ) or (res2 is None )
485485
486486
487- @pytest .mark .pickle
488- @pytest .mark .xfail
487+ @pytest .mark .pickle ()
488+ @pytest .mark .xfail ()
489489@pytest .mark .parametrize ("separate_files" , [False , True ])
490490def test_delete_cache_file (separate_files ):
491491 """Test pickle core handling of missing cache files."""
@@ -497,7 +497,7 @@ def test_delete_cache_file(separate_files):
497497 raise AssertionError ()
498498
499499
500- @pytest .mark .pickle
500+ @pytest .mark .pickle ()
501501@pytest .mark .parametrize ("separate_files" , [False , True ])
502502def test_clear_being_calculated (separate_files ):
503503 """Test pickle core clear `being calculated` functionality."""
@@ -516,7 +516,7 @@ def _error_throwing_func(arg1):
516516 return 7
517517
518518
519- @pytest .mark .pickle
519+ @pytest .mark .pickle ()
520520@pytest .mark .parametrize ("separate_files" , [True , False ])
521521def test_error_throwing_func (separate_files ):
522522 # with
@@ -546,7 +546,7 @@ def _takes_2_seconds_custom_dir(arg_1, arg_2):
546546 return f"arg_1:{ arg_1 } , arg_2:{ arg_2 } "
547547
548548
549- @pytest .mark .pickle
549+ @pytest .mark .pickle ()
550550@pytest .mark .parametrize ("separate_files" , [True , False ])
551551def test_pickle_core_custom_cache_dir (separate_files ):
552552 """Basic Pickle core functionality."""
@@ -567,7 +567,7 @@ def test_pickle_core_custom_cache_dir(separate_files):
567567 assert path2test == EXPANDED_CUSTOM_DIR
568568
569569
570- @pytest .mark .pickle
570+ @pytest .mark .pickle ()
571571@pytest .mark .parametrize ("separate_files" , [True , False ])
572572def test_callable_hash_param (separate_files ):
573573 def _hash_func (args , kwargs ):
0 commit comments