python version-specific codepaths in tests
John Arbash Meinel
john at arbash-meinel.com
Fri Nov 20 15:35:21 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gordon Tyler wrote:
> John Arbash Meinel wrote:
>> We probably could turn this into a 'win32tools.py' helper, and use it as
>> long as ctypes is present (the code I have is using pywin32, but it is
>> usually pretty easy to convert into a ctypes helper.)
>
> You know, I swear I've seen code like this elsewhere in bzr using
> ctypes. I'll see if I can dig it up.
>
>> As for whether SIGINT is *needed*... It is nice to see that things clean
>> up cleanly and quietly. It isn't a strict requirement.
>
> So being able to test that "bzr: interrupted" is output to stderr on
> SIGINT is proof that things were cleaned up?
>
> Ciao,
> Gordon
>
>
Well, testing that it doesn't dump a traceback to stderr is :)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksGtzkACgkQJdeBCYSNAANyRACgtbb79njsr6y3qadynva5+xv0
u+4AoKyuhkMB8g6lF5Rb4OafryO5lTEe
=584n
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list