From 0aaa9d3d0a2593b9092f3e10c9a06f739fd84fd3 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Mon, 6 Feb 2017 22:35:44 -0500 Subject: Experiment with different modes of parsing command-line arguments for option commands. This is an experiment with usin non-POSIX parsing of the command line with shlex before passing it to the optparse OptionParser. The posix vs non-posix setitng primarily effects how quotes and escape characters are dealt with. I'm experimenting with various options to see what may feel the most natural for the majority of end users. --- tests/test_transcript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_transcript.py') diff --git a/tests/test_transcript.py b/tests/test_transcript.py index d699f545..7e89180a 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -204,7 +204,7 @@ Options: def test_comment_stripping(_cmdline_app): out = run_cmd(_cmdline_app, 'speak it was /* not */ delicious! # Yuck!') - expected = normalize("""it was delicious!""") + expected = normalize("""it was delicious!""") assert out == expected -- cgit v1.2.1