Assert Statement In Python Snippet