Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Livingston committed Nov 17, 2017
1 parent 47ac269 commit 851cc53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pex/bin/pex.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def build_pex(args, options, resolver_option_builder):
if options.interpreter_constraint:
for ic in constraints:
pex_builder.add_interpreter_constraint(ic)
raise ValueError(pex_builder.info.build_properties)

resolvables = [Resolvable.get(arg, resolver_option_builder) for arg in args]

for requirements_txt in options.requirement_files:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def test_interpreter_constraints_to_pex_info_py36():
res = run_pex_command(['--disable-cache',
'--interpreter-constraint=>=3',
'-o', pex_out_path])
assert res.return_code is None
res.assert_success()
pex_info = get_pex_info(pex_out_path)
assert ['>=3'] == pex_info.interpreter_constraints

Expand All @@ -362,7 +362,7 @@ def test_interpreter_resolution_with_constraint_option():
'--interpreter-constraint=>=2.7',
'--interpreter-constraint=<3',
'-o', pex_out_path])
assert res.return_code is None
res.assert_success()


def test_interpreter_resolution_with_pex_python_path():
Expand Down

0 comments on commit 851cc53

Please sign in to comment.