Permalink
Browse files

Fix tests to match expectation

  • Loading branch information...
1 parent 5b07d61 commit 792c7b95186b220f287584fb3833d25b6ad06664 @jaraco committed Nov 14, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 test_path.py
View
@@ -130,9 +130,9 @@ def testUNC(self):
self.assert_(p.splitunc() == os.path.splitunc(str(p)))
def testExplicitModule(self):
- 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')
+ 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')
self.assertEqual(nt_ok.dirname(), r'foo\bar')
self.assertEqual(posix_ok.dirname(), r'foo/bar')

0 comments on commit 792c7b9

Please sign in to comment.