summaryrefslogtreecommitdiff
path: root/test/py/test.py
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-01-26 20:41:31 (GMT)
committerSimon Glass <sjg@chromium.org>2016-01-29 04:01:24 (GMT)
commita2ec560647e90250183e379799db957970cb260e (patch)
treeec6d75579e51ecbf5ff0ece07a225488fc4e8ffe /test/py/test.py
parente8debf394fbba594fcfc267c61f8c6bbca395b06 (diff)
downloadu-boot-a2ec560647e90250183e379799db957970cb260e.tar.xz
test/py: Quote consistency
When converting test/py from " to ', I missed a few places (or added a few inconsistencies later). Fix these. Note that only quotes in code are converted; double-quotes in comments and HTML are left as-is, since English and HTML use " not '. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/test.py')
-rwxr-xr-xtest/py/test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/py/test.py b/test/py/test.py
index 9c23898..95671d4 100755
--- a/test/py/test.py
+++ b/test/py/test.py
@@ -16,17 +16,17 @@ import sys
sys.argv.pop(0)
# argv; py.test test_directory_name user-supplied-arguments
-args = ["py.test", os.path.dirname(__file__) + "/tests"]
+args = ['py.test', os.path.dirname(__file__) + '/tests']
args.extend(sys.argv)
try:
- os.execvp("py.test", args)
+ os.execvp('py.test', args)
except:
# Log full details of any exception for detailed analysis
import traceback
traceback.print_exc()
# Hint to the user that they likely simply haven't installed the required
# dependencies.
- print >>sys.stderr, """
+ print >>sys.stderr, '''
exec(py.test) failed; perhaps you are missing some dependencies?
-See test/py/README.md for the list."""
+See test/py/README.md for the list.'''