()
| 13 | |
| 14 | |
| 15 | def test_render_pypng(): |
| 16 | qr = qrcode.QRCode() |
| 17 | qr.add_data(UNICODE_TEXT) |
| 18 | img = qr.make_image(image_factory=PyPNGImage) |
| 19 | assert isinstance(img.get_image(), png.Writer) |
| 20 | |
| 21 | print(img.width, img.box_size, img.border) |
| 22 | img.save(io.BytesIO()) |
| 23 | |
| 24 | |
| 25 | def test_render_pypng_to_str(): |
nothing calls this directly
no test coverage detected