Show More
@@ -98,11 +98,11 b' class SubProcessTestCase(TestCase, tt.TempFileMixin):' | |||||
98 | self.assertEquals(out, 'on stdout') |
|
98 | self.assertEquals(out, 'on stdout') | |
99 |
|
99 | |||
100 | def test_getoutput_quoted(self): |
|
100 | def test_getoutput_quoted(self): | |
101 | out = getoutput('python -c "print 1"') |
|
101 | out = getoutput('python -c "print (1)"') | |
102 | self.assertEquals(out.strip(), '1') |
|
102 | self.assertEquals(out.strip(), '1') | |
103 | out = getoutput("python -c 'print 1'") |
|
103 | out = getoutput("python -c 'print (1)'") | |
104 | self.assertEquals(out.strip(), '1') |
|
104 | self.assertEquals(out.strip(), '1') | |
105 | out = getoutput("python -c 'print \"1\"'") |
|
105 | out = getoutput("python -c 'print (\"1\")'") | |
106 | self.assertEquals(out.strip(), '1') |
|
106 | self.assertEquals(out.strip(), '1') | |
107 |
|
107 | |||
108 | def test_getoutput(self): |
|
108 | def test_getoutput(self): |
General Comments 0
You need to be logged in to leave comments.
Login now