Show More
@@ -113,6 +113,10 b' class SubProcessTestCase(TestCase, tt.TempFileMixin):' | |||||
113 | def test_getoutput_quoted(self): |
|
113 | def test_getoutput_quoted(self): | |
114 | out = getoutput('python -c "print (1)"') |
|
114 | out = getoutput('python -c "print (1)"') | |
115 | self.assertEquals(out.strip(), '1') |
|
115 | self.assertEquals(out.strip(), '1') | |
|
116 | ||||
|
117 | #Invalid quoting on windows | |||
|
118 | @dec.skip_win32 | |||
|
119 | def test_getoutput_quoted2(self): | |||
116 | out = getoutput("python -c 'print (1)'") |
|
120 | out = getoutput("python -c 'print (1)'") | |
117 | self.assertEquals(out.strip(), '1') |
|
121 | self.assertEquals(out.strip(), '1') | |
118 | out = getoutput("python -c 'print (\"1\")'") |
|
122 | out = getoutput("python -c 'print (\"1\")'") |
General Comments 0
You need to be logged in to leave comments.
Login now