Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix tests to match expectation

  • Loading branch information...
commit 792c7b95186b220f287584fb3833d25b6ad06664 1 parent 5b07d61
Jason R. Coombs authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 test_path.py
6 test_path.py
@@ -130,9 +130,9 @@ def testUNC(self):
130 130 self.assert_(p.splitunc() == os.path.splitunc(str(p)))
131 131
132 132 def testExplicitModule(self):
133   - nt_ok = path.using_module(ntpath, r'foo\bar\baz')
134   - posix_ok = path.using_module(posixpath, r'foo/bar/baz')
135   - posix_wrong = path.using_module(posixpath, r'foo\bar\baz')
  133 + nt_ok = path.using_module(ntpath)(r'foo\bar\baz')
  134 + posix_ok = path.using_module(posixpath)(r'foo/bar/baz')
  135 + posix_wrong = path.using_module(posixpath)(r'foo\bar\baz')
136 136
137 137 self.assertEqual(nt_ok.dirname(), r'foo\bar')
138 138 self.assertEqual(posix_ok.dirname(), r'foo/bar')

0 comments on commit 792c7b9

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