Skip to content

Commit 36194a2

Browse files
committed
Re-introduce test
1 parent aa6056a commit 36194a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_pathlib/test_pathlib.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,10 @@ def test_is_mount_root(self):
11081108
self.assertTrue(R.is_mount())
11091109
self.assertFalse((R / '\udfff').is_mount())
11101110

1111+
def test_passing_kwargs_errors(self):
1112+
with self.assertRaises(TypeError):
1113+
self.cls(foo="bar")
1114+
11111115
def setUpWalk(self):
11121116
super().setUpWalk()
11131117
sub21_path= self.sub2_path / "SUB21"

0 commit comments

Comments
 (0)