summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posixpath.py
Commit message (Collapse)AuthorAgeFilesLines
* Backport support.change_cwd() and use it in tests.Serhiy Storchaka2015-09-061-24/+14
|
* Issue #21840: Fixed a typo.Serhiy Storchaka2015-02-131-1/+1
|
* Issue #21840: Fixed expanding unicode variables of form $var inSerhiy Storchaka2015-02-131-1/+18
| | | | | posixpath.expandvars(). Fixed all os.path implementations on unicode-disabled builds.
* #17315: unlink a file that test_posixpath was leaving around.Ezio Melotti2013-03-011-0/+1
|
* Disable posixpath.realpath() tests on Windows (fix for issue #6975).Serhiy Storchaka2013-02-181-0/+12
|
* Fix posixpath.realpath() for multiple pardirs (fixes issue #6975).Serhiy Storchaka2013-02-181-0/+10
|
* Issue #6975: os.path.realpath() now correctly resolves multiple nested ↵Serhiy Storchaka2013-02-101-0/+49
| | | | symlinks on POSIX platforms.
* fix spellingBenjamin Peterson2012-11-301-2/+3
|
* Remove redundant check for symlink. (closes #6036)Benjamin Peterson2012-11-301-13/+14
| | | | Patch by Bruno Dupuis.
* Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME ↵Jesus Cea2012-05-101-0/+1
| | | | is '/'
* Issue #5117: Fixed root directory related issue on posixpath.relpath() andHirokazu Yamamoto2010-10-181-0/+9
| | | | ntpath.relpath().
* Minor tweaking of previous r78734, and add a NEWS entry.Florent Xicluna2010-03-061-1/+1
|
* Create test_genericpath.CommonTest and reuse it to test other path modules.Florent Xicluna2010-03-061-187/+9
|
* skip tests with a non-ascii cwd when the file system encoding is asciiEzio Melotti2010-02-201-9/+7
|
* Remove e assertIs definitions and use correct assert* methods.Ezio Melotti2010-02-201-8/+6
|
* #3426: os.path.abspath now returns unicode when its arg is unicode.Ezio Melotti2010-02-201-0/+9
|
* Remove duplicate test method.Georg Brandl2010-02-071-6/+1
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-5/+5
|
* #5827: make sure that normpath preserves unicodeEzio Melotti2010-01-121-0/+5
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-9/+9
|
* Make test.test_support.EnvironmentVarGuard behave like a dictionary.Walter Dörwald2009-05-011-10/+6
| | | | | All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block.
* Use test.test_support.EnvironmentVarGuard where tests change environment vars.Walter Dörwald2009-04-261-4/+3
|
* #5471: fix expanduser() for $HOME set to "/".Georg Brandl2009-04-051-0/+5
|
* #1742: don't raise exception on os.path.relpath("a", "a"), but return os.curdir.Georg Brandl2008-01-061-0/+1
| | | | Reported by Jesse Towner.
* Better tests for posixpath.commonprefixRaymond Hettinger2007-05-111-0/+10
|
* Make test_relpath() pass on Windows.Collin Winter2007-03-231-9/+13
|
* Patch 1339796: add a relpath() function to os.path.Collin Winter2007-03-161-1/+12
|
* Whitespace normalization.Tim Peters2007-03-121-2/+2
|
* * Unlink test files before and after each test; hopefully this will cut down ↵Collin Winter2007-03-101-105/+62
| | | | | | | on recent buildbot failures in test_islink. * Drop safe_remove() in favor of test_support.unlink(). * Fix the indentation of test_samefile so that it runs.
* Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', '').Martin v. Löwis2007-03-071-8/+20
|
* Fixed ntpath.expandvars to not replace references to non-existingSjoerd Mullender2007-01-161-0/+2
| | | | | variables with nothing. Also added tests. This fixes bug #494589.
* Whitespace normalization.Tim Peters2005-06-031-2/+2
|
* Bug #1213894: os.path.realpath didn't resolve symlinks that were the firstGeorg Brandl2005-06-031-0/+20
| | | | component of the path.
* Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵Johannes Gijsbers2004-08-301-0/+2
| | | | in glob.glob.
* Whitespace normalization.Tim Peters2004-08-201-3/+3
|
* bug #990669: os.path.realpath() will resolve symlinks before normalizing theJohannes Gijsbers2004-08-141-2/+95
| | | | | | | | path, as normalizing the path may alter the meaning of the path if it contains symlinks. Also add tests for infinite symlink loops and parent symlinks that need to be resolved.
* Fix SF #763362, test_posixpath failedNeal Norwitz2003-07-011-4/+6
| | | | | Don't check expanduser('~') if the home directory == the root directory (ie, we are running as root).
* Whitespace normalization.Tim Peters2003-06-291-2/+2
|
* Use find() instead of looping over the string in expanduser().Walter Dörwald2003-06-191-1/+5
| | | | From SF patch #757058.
* Complete rewrite of tests by Walter Dorwald as unittest tests.Brett Cannon2003-06-161-45/+394
|
* Patch #536661: Improve performance of splitext. Add test_macpath.Martin v. Löwis2002-12-121-0/+5
|
* String method conversion.Eric S. Raymond2001-02-091-1/+0
| | | | (This one was trivial -- no actual string. references in it!)
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-12/+11
|
* updated to correct failing test casesSkip Montanaro2000-08-231-2/+2
|
* new test file for posixpath moduleSkip Montanaro2000-07-121-0/+42