diff --git a/conversions/octal_to_binary.py b/conversions/octal_to_binary.py index 02dc911a7..06856aa78 100644 --- a/conversions/octal_to_binary.py +++ b/conversions/octal_to_binary.py @@ -83,6 +83,9 @@ def octal_to_binary(octal: str) -> str: if negative: return "-0b" + "".join(str(e) for e in binary) return "0b" + "".join(str(e) for e in binary) + + if __name__ == "__main__": from doctest import testmod + testmod()