for exp in expected: > assert bool(re.search(exp, code)) E AssertionError .test/test_nose.py:64: AssertionError
this is the error i am getting and this is where i have defined the assert:
def test_circlearea_with_random_numeric_radius(self): # Define a circle 'c1' with radius 2.5, and check if # its area is 19.63. c1 = Circle(2.5) assert c1.area() == 19.63
Is anyone having any idea why is this happening ?
1.4m articles
1.4m replys
5 comments
56.9k users