Commit Graph

11544 Commits

Author SHA1 Message Date
Jean-Paul Calderone
73110f48da Banish getProcessOutputAndValue from test_runner
It cannot do the right thing on Windows for non-ASCII because Twisted uses
pywin32 and on Python 2 pywin32 binds CreateProcessA.
2021-01-11 14:56:46 -05:00
Jean-Paul Calderone
41d7548527 typo 2021-01-11 14:16:02 -05:00
Jean-Paul Calderone
a4c520ec2a try to go faster without losing coverage 2021-01-11 14:11:28 -05:00
Jean-Paul Calderone
a29b061f91 explain the nested import 2021-01-11 14:04:20 -05:00
Jean-Paul Calderone
e6ee13d11b Shovel code around a bit more 2021-01-11 14:03:11 -05:00
Jean-Paul Calderone
9d7b12292c Get rid of FILE_TYPE_REMOTE 2021-01-11 13:56:42 -05:00
Jean-Paul Calderone
ad48e6c005 See if we can use pywin32 GetFileType 2021-01-11 13:54:04 -05:00
Jean-Paul Calderone
52896432e1 it cannot return None 2021-01-11 13:41:54 -05:00
Jean-Paul Calderone
184b9735b5 another constant we can get from pywin32 2021-01-11 13:41:48 -05:00
Jean-Paul Calderone
5c6e5970c9 get this from pywin32 too 2021-01-11 13:36:12 -05:00
Jean-Paul Calderone
cca0071cbf these aren't win32 specific 2021-01-11 13:36:04 -05:00
Jean-Paul Calderone
f61103aa80 spell the module name right 2021-01-11 13:22:14 -05:00
Jean-Paul Calderone
f5bcd272b8 skip the other test suite too 2021-01-11 12:58:27 -05:00
Jean-Paul Calderone
6de392fd23 blacklist a couple more 2021-01-11 12:43:30 -05:00
Jean-Paul Calderone
fd223136db Avoid breaking non-Windows with test_windows 2021-01-11 12:42:52 -05:00
Jean-Paul Calderone
ed713182e7 docstring 2021-01-11 12:31:13 -05:00
Jean-Paul Calderone
dc5ed66815 docstring 2021-01-11 12:31:08 -05:00
Jean-Paul Calderone
ad2df670e6 try using pywin32 for GetStdHandle 2021-01-11 11:51:01 -05:00
Jean-Paul Calderone
1751d682a2 is this cool? 2021-01-11 11:46:40 -05:00
Jean-Paul Calderone
112bfaf625 we would like this to be utf-8 corresponding to the inputs 2021-01-11 11:42:27 -05:00
Jean-Paul Calderone
ab1f6f3a59 clean up this noise 2021-01-11 11:39:56 -05:00
Jean-Paul Calderone
4e9bdfeee4 please just always work? 2021-01-11 11:38:25 -05:00
Jean-Paul Calderone
14caaa360c different debug 2021-01-11 11:33:09 -05:00
Jean-Paul Calderone
a4061619dc shuffle code around a lot 2021-01-11 11:32:12 -05:00
Jean-Paul Calderone
3adfb2a108 let it be slow 2021-01-11 11:17:57 -05:00
Jean-Paul Calderone
f4a1a6fd97 get rid of this noise 2021-01-11 11:16:49 -05:00
Jean-Paul Calderone
23d1d76242 get the name 2021-01-11 11:16:23 -05:00
Jean-Paul Calderone
8fa1b6bb1e make stdout/stderr available 2021-01-11 11:15:47 -05:00
Jean-Paul Calderone
504b2f5b1f get the syntax right 2021-01-11 11:15:20 -05:00
Jean-Paul Calderone
221f1640a5 make the container 2021-01-11 11:14:32 -05:00
Jean-Paul Calderone
08d56c87b4 that was silly 2021-01-11 11:13:45 -05:00
Jean-Paul Calderone
a0aa3fe296 try testing UnicodeOutput 2021-01-11 11:12:12 -05:00
Jean-Paul Calderone
6d499dea53 exclude nul from the tested argv values 2021-01-11 10:31:37 -05:00
Jean-Paul Calderone
c2e8d94a73 don't fail this test because it is slow 2021-01-11 10:24:25 -05:00
Jean-Paul Calderone
33f84412b4 maybe pywin32 GetCommandLine is not really GetCommandLineW 2021-01-11 10:19:17 -05:00
Jean-Paul Calderone
389d70a682 see if GetCommandLine() value is interesting 2021-01-11 10:17:02 -05:00
Jean-Paul Calderone
e2f3964451 okay this is indeed the expected 2021-01-11 10:09:54 -05:00
Jean-Paul Calderone
42f1930914 disambiguate this a bit 2021-01-11 10:08:15 -05:00
Jean-Paul Calderone
30c79bf678 make sure executable is unicode too, if that matters 2021-01-11 09:51:36 -05:00
Jean-Paul Calderone
b5f0e21ef8 testtools convention - actual value comes first 2021-01-10 20:19:15 -05:00
Jean-Paul Calderone
3bde012ea1 Create a better expectation
If we pass all this stuff to Popen we should expect to see it from get_argv() right?
2021-01-10 20:18:00 -05:00
Jean-Paul Calderone
28435d65c1 test the SUT 2021-01-10 20:16:25 -05:00
Jean-Paul Calderone
360b20a981 FilePath again 2021-01-10 20:14:05 -05:00
Jean-Paul Calderone
77c9a2c2f5 make the failures a little nicer 2021-01-10 20:13:17 -05:00
Jean-Paul Calderone
18de71666f try to work-around bugs in the Popen hotfix 2021-01-10 20:10:34 -05:00
Jean-Paul Calderone
a21b66e775 FilePath again 2021-01-10 20:06:07 -05:00
Jean-Paul Calderone
e64a4c6426 Attempt to use a parent-side API that supports unicode properly 2021-01-10 19:59:22 -05:00
Jean-Paul Calderone
6091ca2164 try to get the child source right 2021-01-10 11:23:19 -05:00
Jean-Paul Calderone
b02b930eed do better with paths 2021-01-10 11:22:00 -05:00
Jean-Paul Calderone
a73668a056 this doesn't take a list 2021-01-10 11:21:13 -05:00