Serhiy Storchaka
851811f577
bpo-5846: Do not use obsolete unittest functions. (GH-28303)
...
Get rid of use of makeSuite() and findTestCases().
Also make test_math and test_threading_local discoverable.
2021-09-13 10:49:53 +03:00
Hai Shi
847f94f47b
bpo-40275: Use new test.support helper submodules in tests (GH-21151)
...
Use new test.support helper submodules in tests:
* distutils tests
* test_buffer
* test_compile
* test_filecmp
* test_fileinput
* test_readline
* test_smtpnet
* test_structmembers
* test_tools
2020-06-25 19:17:57 +02:00
xdegaye
d34d8fc24f
bpo-29185: Fix `test_distutils` failures on Android (GH-4438)
...
* Run gzip with separate command line options (Android understands '-f9' as the name of a file).
* Creation of a hard link is controled by SELinux on Android.
2017-11-18 18:17:16 +01:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Antoine Pitrou
ed14c86fac
Issue #8876 : distutils now falls back to copying files when hard linking doesn't work.
...
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:37:07 +01:00
Benjamin Peterson
9833fcbca3
use patch context manager instead of decorator because the decorator 'leaks' metadata onto the function
2014-09-20 11:53:12 -04:00
Berker Peksag
6685883c02
Issue #22182 : Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
...
Patch by Claudiu Popa.
2014-08-29 07:07:35 +03:00
Ezio Melotti
b3aedd4862
#9424 : Replace deprecated assert* methods in the Python test suite.
2010-11-20 19:04:17 +00:00
Éric Araujo
70ec44a773
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
2010-11-06 02:44:43 +00:00
Éric Araujo
bee5cef7db
Always close files in distutils code and tests ( #10252 ).
2010-11-05 23:51:56 +00:00
Tarek Ziadé
3679727939
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
2010-07-22 12:50:05 +00:00
Tarek Ziadé
c2b7188995
Merged revisions 73814-73815 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73814 | tarek.ziade | 2009-07-03 21:01:12 +0200 (Fri, 03 Jul 2009) | 1 line
basic tests to raise distutils.file_util coverage
........
r73815 | tarek.ziade | 2009-07-03 21:14:49 +0200 (Fri, 03 Jul 2009) | 1 line
cleaned distutils.file_util
........
2009-07-03 19:22:23 +00:00
Hirokazu Yamamoto
2703fd9134
Merged revisions 73008 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73008 | tarek.ziade | 2009-05-29 17:08:07 +0900 | 1 line
Fixed #6131 : test_modulefinder leaked when run after test_distutils
........
2009-05-29 09:14:04 +00:00
Tarek Ziadé
c1375d5e01
Merged revisions 69609 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69609 | tarek.ziade | 2009-02-14 15:10:23 +0100 (Sat, 14 Feb 2009) | 1 line
Fix for #5257 : refactored all tests in distutils, so they use a temporary directory.
........
2009-02-14 14:35:51 +00:00
Tarek Ziadé
70a74eb2c4
Merged revisions 69324 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69324 | tarek.ziade | 2009-02-06 01:31:59 +0100 (Fri, 06 Feb 2009) | 1 line
Fixed #1276768 : verbose option was not used in the code.
........
2009-02-06 00:38:35 +00:00