Complete coverage for the qrcode package (#12675)

This commit is contained in:
Martijn Pieters
2024-09-20 14:36:25 +01:00
committed by GitHub
parent f1bf1c01fe
commit bde71c575f
20 changed files with 455 additions and 304 deletions

View File

@@ -4,6 +4,9 @@ qrcode\.compat\..*
qrcode\.tests
qrcode\.tests\..*
# Stub-only module
qrcode._types
# Parameter "data" has unhelpful default value, which creates a QR code with string "None".
qrcode\.make
qrcode\.main\.make
@@ -12,5 +15,13 @@ qrcode\.main\.make
# class of the default class assigned to the attribute.
qrcode\.image\..*\.default_drawer_class
# Implementation has marked these methods as abstract without the class
# or its bases deriving from abc.ABCMeta
qrcode\.image\.base\.BaseImage\.(drawrect|new_image|save)
# The implementation sets this attribute to None on the class but instances
# always set this to a PIL image instance.
qrcode\.image\.styles\.moduledrawers\.(pil\.)?CircleModuleDrawer.circle
# Leaked loop counter
qrcode.base.i