Add tests
This commit is contained in:
parent
1c39165fcc
commit
bb2852822d
@ -120,9 +120,3 @@ class IssueString:
|
|||||||
|
|
||||||
return 0.5
|
return 0.5
|
||||||
return self.num
|
return self.num
|
||||||
|
|
||||||
def as_int(self) -> Optional[int]:
|
|
||||||
# return the int version of the float
|
|
||||||
if self.num is None:
|
|
||||||
return None
|
|
||||||
return int(self.num)
|
|
||||||
|
@ -270,6 +270,9 @@ class ImprintDict(dict):
|
|||||||
else:
|
else:
|
||||||
return (item, self.publisher, True)
|
return (item, self.publisher, True)
|
||||||
|
|
||||||
|
def copy(self) -> "ImprintDict":
|
||||||
|
return ImprintDict(self.publisher, super().copy())
|
||||||
|
|
||||||
|
|
||||||
publishers: dict[str, ImprintDict] = {}
|
publishers: dict[str, ImprintDict] = {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user