aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-03-07 15:04:17 -0800
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-03-07 15:04:17 -0800
commit17908c168def9cba95c548786c39bfe49de00a3f (patch)
treefd8da96902e87d6528f5b2bfe1a444ca18f058e0 /src
parente6cc9c7a253464e17abfd0fbd7dd5f1a52df36da (diff)
Address comments and add a TODO.
Diffstat (limited to 'src')
-rw-r--r--src/python/grpcio/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py
index ec116f58ab..3207ea3052 100644
--- a/src/python/grpcio/commands.py
+++ b/src/python/grpcio/commands.py
@@ -286,10 +286,11 @@ class TestLite(setuptools.Command):
runner = tests.Runner()
result = runner.run(loader.suite)
if not result.wasSuccessful():
- sys.exit(1)
+ sys.exit('Test failure')
def _add_eggs_to_path(self):
"""Adds all egg files under .eggs to sys.path"""
+ # TODO(jtattemusch): there has to be a cleaner way to do this
import pkg_resources
eggs_dir = os.path.join(PYTHON_STEM, '../../../.eggs')
eggs = [os.path.join(eggs_dir, filename)