def METHOD_NAME(self) -> None:
    with self.assertRaisesRegex(RuntimeError, "unexpected [^,]*, expected.*$"):
        ino_chr = IncompleteDevice(item=SSI.mkfile(path=b"unused"))
    ino_chr = IncompleteDevice(item=SSI.mknod(path=b"chr", mode=0o20711, dev=0x123))
    self.assertEqual("(Char m711 123)", repr(ino_chr))
    self.assertEqual(stat.S_IFCHR, ino_chr.file_type)
    self.assertEqual(0x123, ino_chr.dev)
    self.assertEqual(0o711, ino_chr.mode)
    ino_blk = IncompleteDevice(item=SSI.mknod(path=b"blk", mode=0o60544, dev=0x345))
    self.assertEqual("(Block m544 345)", repr(ino_blk))
    self.assertEqual(stat.S_IFBLK, ino_blk.file_type)
    self.assertEqual(0x345, ino_blk.dev)
    self.assertEqual(0o544, ino_blk.mode)
    with self.assertRaisesRegex(RuntimeError, "unexpected device mode"):
        IncompleteDevice(item=SSI.mknod(path=b"e", mode=0o10644, dev=3))