Éric Araujo
ed5d2f1310
Minor tweaks to packaging tests.
...
- Move a tearDown method right after setUp
- Use assertRaises instead of reinventing it
- Skip a test instead of commenting it out, as a reminder
2011-06-17 15:47:41 +02:00
Éric Araujo
043f5ae697
Specify the encoding of the setup.cfg in one packaging test ( #12320 )
2011-06-12 22:04:58 +02:00
Éric Araujo
643cb7345f
Allow multiple setup hooks in packaging’s setup.cfg files ( #12240 ).
...
Original patch by Erik Bray.
2011-06-11 00:33:38 +02:00
Éric Araujo
3605030c9b
Fix assorted bugs in packaging.util.cfg_to_args ( #11595 ).
...
Original patch by Erik Bray.
2011-06-10 23:52:26 +02:00
Tarek Ziade
b1b6e1384c
Cleaned up the installer output behavior.
...
This change also makes sure the logger handlers are not alterated after an
installation. That also fixes the remaining environment alteration issue in
test_packaging.
2011-05-30 12:07:49 +02:00
Tarek Ziade
fabc30833f
fixed the cwd cleanup in packaging test_util
2011-05-23 18:47:27 +02:00
Tarek Ziade
94449616da
fixed a few mocking/cleanup issues in packaging test_util for win32
2011-05-21 10:37:58 +02:00
Victor Stinner
9904b22b78
Close #12114 : fix a potential deadlock in packaging.util._find_exe_version()
...
Avoid also zombi processes: Popen.communicate() calls its wait() method.
2011-05-21 02:20:36 +02:00
Victor Stinner
e1e3b12979
fix packaging tests on Windows: use os.path.join() in glob patterns
2011-05-20 00:33:39 +02:00
Victor Stinner
f966803c08
packaging: fix the constructor of FakePopen
...
packaging.util requires the env keyword.
2011-05-20 00:12:10 +02:00
Victor Stinner
21a9c748aa
packaging: use with open() instead of try/finally: close
2011-05-19 15:51:27 +02:00
Tarek Ziade
1231a4e097
initial import of the packaging package in the standard library
2011-05-19 13:07:25 +02:00