fix cache.increment, added tests

This commit is contained in:
niphlod committed 2014-09-16 23:50:10 +02:00
1 parent 424746ce7a
commit 50f16744a7
4 files changed
+53 -5

No files matched your search

+4
View File
@@ -63,6 +63,10 @@ try:
#due to http://bugs.python.org/issue10845, testing multiprocessing in python is impossible
if sys.platform.startswith('win'):
MP_WORKING = 0
#multiprocessing is also not available on GAE. Since tests randomly
#fail, let's not make them on it too
if 'datastore' in os.getenv('DB', ''):
MP_WORKING = 0
except ImportError:
pass