示例#1
0
    def test_lattice_snapshot(self):
        lattice = create_lattice()

        with self.assertRaises(TypeError):
            snapshot(lattice, "fail.png")
示例#2
0
    def test_lattice_show(self):
        lattice = create_lattice()

        with self.assertRaises(TypeError):
            show(lattice)