Show More
@@ -74,14 +74,14 b' def test_arg_split():' | |||||
74 | for argstr, argv in tests: |
|
74 | for argstr, argv in tests: | |
75 | nt.assert_equal(arg_split(argstr), argv) |
|
75 | nt.assert_equal(arg_split(argstr), argv) | |
76 |
|
76 | |||
77 | @dec.skip_win32 |
|
77 | @dec.skip_if_not_win32 | |
78 | def test_arg_split_win32(): |
|
78 | def test_arg_split_win32(): | |
79 | """Ensure that argument lines are correctly split like in a shell.""" |
|
79 | """Ensure that argument lines are correctly split like in a shell.""" | |
80 | tests = [['hi', ['hi']], |
|
80 | tests = [['hi', ['hi']], | |
81 | [u'hi', [u'hi']], |
|
81 | [u'hi', [u'hi']], | |
82 | ['hello there', ['hello', 'there']], |
|
82 | ['hello there', ['hello', 'there']], | |
83 | # [u'h\N{LATIN SMALL LETTER A WITH CARON}llo', [u'h\N{LATIN SMALL LETTER A WITH CARON}llo']], |
|
83 | # [u'h\N{LATIN SMALL LETTER A WITH CARON}llo', [u'h\N{LATIN SMALL LETTER A WITH CARON}llo']], | |
84 |
['something "with quotes"', ['something', ' |
|
84 | ['something "with quotes"', ['something', 'with quotes']], | |
85 | ] |
|
85 | ] | |
86 | for argstr, argv in tests: |
|
86 | for argstr, argv in tests: | |
87 | nt.assert_equal(arg_split(argstr), argv) |
|
87 | nt.assert_equal(arg_split(argstr), argv) |
General Comments 0
You need to be logged in to leave comments.
Login now