Пример #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)