diff options
author | Tim Burke <tim.burke@gmail.com> | 2019-03-01 12:43:42 -0800 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2019-05-08 17:44:03 -0700 |
commit | 506279235d12f1590bd928de51d991b7fb425e6e (patch) | |
tree | f2e0d30a120ec664064af6f0c762696dfe97b8af /.unittests | |
parent | 032cf3b3b4599bd720131c8f02cc6ed8a155683d (diff) | |
download | swift-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 '.unittests')
-rwxr-xr-x | .unittests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.unittests b/.unittests index 51c110f68..7faed77dc 100755 --- a/.unittests +++ b/.unittests @@ -1,6 +1,6 @@ #!/bin/bash -TOP_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))") +TOP_DIR=$(python -c "import os; print(os.path.dirname(os.path.realpath('$0')))") python -c 'from distutils.version import LooseVersion as Ver; import nose, sys; sys.exit(0 if Ver(nose.__version__) >= Ver("1.2.0") else 1)' if [ $? != 0 ]; then |