skip languages write test on GAE
This commit is contained in:
1 parent
1bf67c0e58
commit
39ee2a5991
2 files changed
+6
-1
No files matched your search
@@ -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
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user