Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed the factor 2 in the sum function #81

Closed

Conversation

mkb0517
Copy link

@mkb0517 mkb0517 commented Jul 14, 2018

I fixed the bug in the compute sum function

@mkb0517
Copy link
Author

mkb0517 commented Jul 14, 2018

test_compute.test_my_sum1 ... ok
test_compute.test_my_sum2 ... ok
test_compute.test_my_sum3 ... FAIL

======================================================================
FAIL: test_compute.test_my_sum3
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mbrown/anaconda3/envs/devenv/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/mbrown/SciPy2018/sprint_tutorial/sprint_tutorial/tests/test_compute.py", line 17, in test_my_sum3
    assert_equal(my_sum(1, 1), 2)
AssertionError: 4 != 2

----------------------------------------------------------------------
Ran 3 tests in 0.025s

FAILED (failures=1)

Fixes #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants