skip languages write test on GAE

This commit is contained in:
mdipierro
2014-04-07 12:16:19 -05:00
parent 1bf67c0e58
commit 39ee2a5991
2 changed files with 6 additions and 1 deletions

View File

@@ -1 +1 @@
Version 2.9.5-trunk+timestamp.2014.04.02.09.18.42
Version 2.9.5-trunk+timestamp.2014.04.07.12.15.01

View File

@@ -12,6 +12,9 @@ import tempfile
import threading
import logging
def is_gae():
import httplib
return 'appengine' in str(httplib.HTTP)
def fix_sys_path():
"""
@@ -73,6 +76,8 @@ try:
pass
def test_reads_and_writes(self):
if is_gae():
return # do not check since on GAE not write of filesystem
readwriters = 10
pool = multiprocessing.Pool(processes=readwriters)
results = pool.map(read_write, [[self.filename, 10]] * readwriters)