def test_dividers(self): """Test dividers.""" try: for i in range(len(self.raw_dividers)): # Try to match the raw divider with the result # of the function: if i != 35 and i != 0: self.assertEqual(self.raw_dividers[i].replace("\n", ""), area4.divider(i)) elif i == 35 and i != 0: self.assertNotEqual(self.raw_dividers[i], area4.divider(i)) finally: pass
def test_dividers(self): """Test dividers.""" try: for i in range(len(self.raw_dividers)): # Try to match the raw divider with the result # of the function: if i not in [0, 32, 35, 286]: self.assertEqual( self.raw_dividers[i].replace("\n", ""), area4.divider(i), f"Divider number {i} was not the same in the file and in the code. Please ask a maintainer for help.", ) elif i in [32, 35, 286] and i != 0: self.assertNotEqual(self.raw_dividers[i], area4.divider(i)) finally: pass
async def on_ready(): print("Changing playing status...") await client.change_presence(game=discord.Game(name="BETA! Run +help")) print(area4.divider(1)) print("Ready to roll, I'll see you on Discord: @" + client.user.__str__()) print(area4.divider(1))