Closed introllo closed 6 years ago
the unit test fails, thusly:
test_declared_gender (tests.test_declared_gender.TestDeclaredGender) ... FAIL
Traceback (most recent call last): File "/twitter-gender-distribution/tests/test_declared_gender.py", line 50, in test_declared_gender description, expected_gender, guess)) AssertionError: Should have guessed profile 'mum to one boy and one girl' was 'female', not 'male'
Ran 1 test in 0.115s
FAILED (failures=1)
This sounds like two different bugs. For the first bug, "TypeError: analyze_friends() takes exactly 6 arguments (5 given)", it looks like I added a parameter to analyze_friends() and didn't update its caller. This works in the web application at https://proporti.onl but not on the command line. Would you like to submit a pull request?
For the second issue, that's a separate bug. Please open it as a new issue.
Thanks!
Running the app locally with Python 2.7.14 (as root) After the "Enter your pincode?" prompt, I see:
Generating and signing request for an access token...
Traceback (most recent call last): File "analyze.py", line 356, in
tok, tok_secret)),
TypeError: analyze_friends() takes exactly 6 arguments (5 given)
I ran in debug mode (-vv) and didn't see anything interesting before the program dumped. Thoughts?