fix for GAE tests often failing for no apparent reason

This commit is contained in:
niphlod
2014-10-16 20:56:24 +02:00
parent 05689aa526
commit b616ee6a32
+4
View File
@@ -35,6 +35,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