summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_macostools.py
Commit message (Collapse)AuthorAgeFilesLines
* A number of APIs in macostools cannot work in 64-bit mode because theyRonald Oussoren2010-02-071-29/+31
| | | | | | | | | | | use Carbon APIs that aren't available there. This patch disables tests for the affected entrypoints in macostools and mentions this in the documentation. In theory it is possible to replace the implementation by code that does work in 64-bit mode, but that would require further updates to the Carbon wrappers because the modern APIs aren't wrapped properly.
* Add import_function method to test.test_support, and modify a number ofR. David Murray2009-03-301-3/+5
| | | | | | | | tests that expect to be skipped if imports fail or functions don't exist to use import_function and import_module. The ultimate goal is to change regrtest to not skip automatically on ImportError. Checking in now to make sure the buldbots don't show any errors on platforms I can't direct test on.
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-261-1/+1
|
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-1/+1
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* skip test_macostools when UCS4 is enabledBenjamin Peterson2008-06-191-0/+3
|
* Fix a missed instance of test.test_support.guard_warnings_filter (which wasBrett Cannon2007-08-141-1/+1
| | | | recently removed).
* Remove the macfs module. This led to the deprecation of macostools.touched();Brett Cannon2007-05-201-1/+5
| | | | | it completely relied on macfs and is a no-op on OS X according to code comments.
* Have test_mkalias_relative check that sys.prefix already exists; otherwise testBrett Cannon2004-12-061-0/+6
| | | | | | | | | | is pointless. Also add a note to the docs for the 'test' package that test cases should check first that any conditions needed in the operating system are met before having a test run. Closes bug #1077302. THanks, Ian Holsman.
* Getting rid of macfs.Jack Jansen2003-02-271-3/+3
|
* Whitespace normalization.Tim Peters2003-02-191-7/+7
|
* Use os.path.realpath() in stead of abspath(), so the tests don't fail ifJack Jansen2003-02-051-2/+2
| | | | we have a symlink somewhere in the TESTFN path.
* Test aliases too.Jack Jansen2003-01-281-1/+20
|
* Finally created the first two tests for MacPython modules: macfs andJack Jansen2003-01-281-0/+69
macostools.