summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_file_util.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-031-126/+0
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
* bpo-40280: Block more non-working syscalls in Emscripten (GH-31757)Christian Heimes2022-03-081-0/+2
| | | | | | | | | - getgroups always fails. - geteuid and getegid always return 0 (root), which confuse tarfile and tests. - hardlinks (link, linkat) always fails. - non-encodable file names are not supported by NODERAWFS layer. - mark more tests with dependency on subprocess and multiprocessing. Mocking does not work if the module fails to import.
* bpo-5846: Do not use obsolete unittest functions. (GH-28303)Serhiy Storchaka2021-09-131-1/+1
| | | | Get rid of use of makeSuite() and findTestCases(). Also make test_math and test_threading_local discoverable.
* bpo-40275: Use new test.support helper submodules in tests (GH-21151)Hai Shi2020-06-251-1/+3
| | | | | | | | | | | | | 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
* bpo-29185: Fix `test_distutils` failures on Android (GH-4438)xdegaye2017-11-181-1/+9
| | | | * 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.
* Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|
* Issue #8876: distutils now falls back to copying files when hard linking ↵Antoine Pitrou2014-10-301-1/+31
| | | | | | doesn't work. This allows use with special filesystems such as VirtualBox shared folders.
* use patch context manager instead of decorator because the decorator 'leaks' ↵Benjamin Peterson2014-09-201-8/+7
| | | | metadata onto the function
* Issue #22182: Use e.args to unpack exceptions correctly in ↵Berker Peksag2014-08-291-0/+20
| | | | | | distutils.file_util.move_file. Patch by Claudiu Popa.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-3/+3
|
* Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)Éric Araujo2010-11-061-1/+2
|
* Always close files in distutils code and tests (#10252).Éric Araujo2010-11-051-2/+4
|
* reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé2010-07-221-16/+1
| | | | disutils2, and distutils is now feature-frozen.
* Merged revisions 73814-73815 via svnmerge fromTarek Ziadé2009-07-031-1/+16
| | | | | | | | | | | | | | 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 ........
* Merged revisions 73008 via svnmerge fromHirokazu Yamamoto2009-05-291-2/+2
| | | | | | | | | | 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 ........
* Merged revisions 69609 via svnmerge fromTarek Ziadé2009-02-141-11/+8
| | | | | | | | | | 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. ........
* Merged revisions 69324 via svnmerge fromTarek Ziadé2009-02-061-0/+66
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. ........