diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/extmod/vfs_rom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extmod/vfs_rom.py b/tests/extmod/vfs_rom.py index d416d8387..f7958a939 100644 --- a/tests/extmod/vfs_rom.py +++ b/tests/extmod/vfs_rom.py @@ -226,7 +226,8 @@ class TestEdgeCases(unittest.TestCase): class TestStandalone(TestBase): def test_constructor(self): self.assertIsInstance(vfs.VfsRom(self.romfs), vfs.VfsRom) - self.assertIsInstance(vfs.VfsRom(self.romfs_addr), vfs.VfsRom) + with self.assertRaises(TypeError): + vfs.VfsRom(self.romfs_addr) def test_mount(self): vfs.VfsRom(self.romfs).mount(True, False) |
