From a808e092040c9575312b372b3779cff2e9fee4da Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 30 Sep 2015 00:27:06 -0300 Subject: [PATCH] fix docstring for cache fixture regarding ``/`` on keys --- _pytest/cacheprovider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_pytest/cacheprovider.py b/_pytest/cacheprovider.py index a1f728d9c..afd852de9 100755 --- a/_pytest/cacheprovider.py +++ b/_pytest/cacheprovider.py @@ -192,8 +192,8 @@ def cache(request): cache.get(key, default) cache.set(key, value) - Keys must be strings not containing a "/" separator. Add a unique identifier - (such as plugin/app name) to avoid clashes with other cache users. + Keys must be a ``/`` separated value, where the first part is usually the + name of your plugin or application to avoid clashes with other cache users. Values can be any object handled by the json stdlib module. """