def test_negative_size_at_construction(self): self.assertRaises(ValueError, qrcode.QRCode, box_size=-1)