tests/test-dirs.py
changeset 48043 627cd8f33db0
parent 43571 c21aca51b392
child 48966 6000f5b25c9b
--- 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')