diff -r 1194394510ba -r 627cd8f33db0 tests/test-dirs.py --- a/tests/test-dirs.py Mon Sep 20 12:52:32 2021 +0200 +++ b/tests/test-dirs.py Mon Sep 20 13:16:36 2021 +0200 @@ -13,13 +13,13 @@ (b'a/a/a', [b'a', b'a/a', b'']), (b'alpha/beta/gamma', [b'', b'alpha', b'alpha/beta']), ]: - d = pathutil.dirs({}) + d = pathutil.dirs([]) d.addpath(case) self.assertEqual(sorted(d), sorted(want)) def testinvalid(self): with self.assertRaises(ValueError): - d = pathutil.dirs({}) + d = pathutil.dirs([]) d.addpath(b'a//b')