in common/memory.py [0:0]
def __sub__(self, other: Memory) -> Memory: if other.B > self.B: raise InvalidMemoryAmount(f"{self} - {other} results in negative memory.") return Memory(self.B - other.B, MemoryUnit.B)