Skip to content
Browse files

Updated docstrings

  • Loading branch information...
1 parent 5325db1 commit 14feccc2401c4972bbd912f0bf60d40d2af5de05 @jaraco committed Nov 13, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 test_path.py
View
5 test_path.py
@@ -130,6 +130,9 @@ def testUNC(self):
self.assert_(p.splitunc() == os.path.splitunc(str(p)))
def testExplicitModule(self):
+ """
+ The user may specify an explicit path module to use.
+ """
nt_ok = path.using_module(ntpath)(r'foo\bar\baz')
posix_ok = path.using_module(posixpath)(r'foo/bar/baz')
posix_wrong = path.using_module(posixpath)(r'foo\bar\baz')
@@ -143,7 +146,7 @@ def testExplicitModule(self):
def testExplicitModuleClasses(self):
"""
- multiple calls to path.using_module should produce the same class.
+ Multiple calls to path.using_module should produce the same class.
"""
nt_path = path.using_module(ntpath)
self.assert_(nt_path is path.using_module(ntpath))

0 comments on commit 14feccc

Please sign in to comment.
Something went wrong with that request. Please try again.