Remove debug code

This commit is contained in:
Joe Rickerby
2020-07-17 09:31:53 +01:00
parent af2a171994
commit 6847454850
3 changed files with 0 additions and 6 deletions
-1
View File
@@ -17,5 +17,4 @@ if __name__ == '__main__':
subprocess.check_call(unit_test_args) subprocess.check_call(unit_test_args)
# run the integration tests # run the integration tests
# TODO: REMOVE 'overridden'
subprocess.check_call([sys.executable, '-m', 'pytest', '-x', '--durations', '0', 'test', '-k', 'overridden']) subprocess.check_call([sys.executable, '-m', 'pytest', '-x', '--durations', '0', 'test', '-k', 'overridden'])
-2
View File
@@ -66,8 +66,6 @@ def evaluate_word_node(node: bashlex.ast.node, context: NodeExecutionContext) ->
value = value.replace(part_string, part_value, 1) value = value.replace(part_string, part_value, 1)
print('node value:', value)
return value return value
-3
View File
@@ -71,7 +71,4 @@ def test_overridden_path(tmp_path, capfd):
assert len(os.listdir(output_dir)) == 0 assert len(os.listdir(output_dir)) == 0
captured = capfd.readouterr() captured = capfd.readouterr()
# TODO: REMOVE THIS PRINT
print('captured.out', captured.out)
print('captured.err', captured.err)
assert "python available on PATH doesn't match our installed instance" in captured.err assert "python available on PATH doesn't match our installed instance" in captured.err