File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ class TestCacheDecoratorRedis(TestCacheDecoratorMemory):
426426 @classmethod
427427 def setUpClass (cls ):
428428 if not plugin .HAS_REDIS :
429- print ('The package "redis" is not installed, skipping Redis dependent tests (%s).' % ( cls .__name__ ,) )
429+ print (f 'The package "redis" is not installed, skipping Redis dependent tests ({ cls .__name__ } ).' )
430430 return cls .tearDownClass ()
431431 helpers .cache .adapter_set (helpers .RedisCache ())
432432
@@ -614,7 +614,7 @@ class TestRedisCache(TestMemoryCache):
614614 def setUpClass (cls ):
615615 """Set the current cache adapter to an instance of RedisCache() and make it available through ``self.cache``"""
616616 if not plugin .HAS_REDIS :
617- print ('The package "redis" is not installed, skipping Redis dependent tests (%s).' % ( cls .__name__ ,) )
617+ print (f 'The package "redis" is not installed, skipping Redis dependent tests ({ cls .__name__ } ).' )
618618 return cls .tearDownClass ()
619619 helpers .cache .adapter_set (helpers .RedisCache ())
620620 cls .cache = helpers .cache
You can’t perform that action at this time.
0 commit comments