We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 140fc45 commit 8bd8b01Copy full SHA for 8bd8b01
tests/flaskext_test.py
@@ -27,13 +27,16 @@
27
28
flask_svc_url = 'http://flask.pocoo.org/extensions/'
29
30
+
31
+# OS X has awful paths when using mkstemp or gettempdir(). I don't
32
+# care about security or clashes here, so pick something that is
33
+# actually rememberable.
34
if sys.platform == 'darwin':
35
_tempdir = '/private/tmp'
36
else:
37
_tempdir = tempfile.gettempdir()
38
tdir = _tempdir + '/flaskext-test'
-flaskdir = os.path.abspath(os.path.join(os.path.dirname(__file__),
- '..'))
39
+flaskdir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
40
41
42
# virtualenv hack *cough*
0 commit comments