summaryrefslogtreecommitdiff
path: root/.functests
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2019-03-01 12:43:42 -0800
committerTim Burke <tim.burke@gmail.com>2019-05-08 17:44:03 -0700
commit506279235d12f1590bd928de51d991b7fb425e6e (patch)
treef2e0d30a120ec664064af6f0c762696dfe97b8af /.functests
parent032cf3b3b4599bd720131c8f02cc6ed8a155683d (diff)
downloadswift-506279235d12f1590bd928de51d991b7fb425e6e.tar.gz
Get functional/tests.py running under py3
Note that you need a pretty recent eventlet to pick up https://github.com/eventlet/eventlet/commit/f0bc79e Change-Id: I6b006b972e7431c406039f4e0f6890a8f74a4432
Diffstat (limited to '.functests')
-rwxr-xr-x.functests2
1 files changed, 1 insertions, 1 deletions
diff --git a/.functests b/.functests
index ad58ec713..cd3c31129 100755
--- a/.functests
+++ b/.functests
@@ -3,7 +3,7 @@
# How-To debug functional tests:
# SWIFT_TEST_IN_PROCESS=1 tox -e func -- --pdb test.functional.tests.TestFile.testCopy
-SRC_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))")
+SRC_DIR=$(python -c "import os; print(os.path.dirname(os.path.realpath('$0')))")
cd ${SRC_DIR} > /dev/null
export TESTS_DIR=${SRC_DIR}/test/functional