def logo(): print( fg.brightgreen(f""" _ _ __ ___ ____ _ | |_| |__ ___ \ \ / / \ | _ \ __| | ___ _ __ | __| '_ \ / _ \ \ \ /\ / / _ \ | |_) / _` |/ _ \ '_ | | |_| | | | __/ \ V V / ___ \| _ < (_| | __/ | | | \__|_| |_|\___| \_/\_/_/ \_\_| \_\__,_|\___|_| |_|""")) print("") print( emoji.emojize( " Specter Edition :ghost:")) print( fg.yellow(" Powered by NgU technology ₿"))
def test_sugar(): from ansi.colour import fg, bg assert bg.red(fg.yellow('Hello world!')) == \ '\x1b[41m\x1b[33mHello world!\x1b[0m\x1b[0m'
def test_sugar(self): from ansi.colour import fg, bg self.assertEqual( bg.red(fg.yellow('Hello world!')), '\x1b[41m\x1b[1;33mHello world!\x1b[0m\x1b[0m')
def yellow(s): return (fg.yellow(s))
def warning(s): return (fg.yellow(s))