Skip to content
Myr

Small fixes in the extension tester

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 140fc45 · Browse files · 1 file+5 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−2 removed

  • tests:+5 added−2 removed

1 file+5 added−2 removed

modified:tests/flaskext_test.py+5 added-2 removed
25 unmodified lines
26from setuptools.archive_util import unpack_archive2728flask_svc_url = 'http://flask.pocoo.org/extensions/'293031# OS X has awful paths when using mkstemp or gettempdir(). I don't32# care about security or clashes here, so pick something that is33# actually rememberable.34if sys.platform == 'darwin':35 _tempdir = '/private/tmp'36else:37 _tempdir = tempfile.gettempdir()38tdir = _tempdir + '/flaskext-test'35flaskdir = os.path.abspath(os.path.join(os.path.dirname(__file__),36 '..'))39flaskdir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))404142# virtualenv hack *cough*43os.environ['PYTHONDONTWRITEBYTECODE'] = ''
268 unmodified lines