Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
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

Travis CI: Add pytest --doctest-modules machine_learning #1016

Merged
merged 6 commits into from Aug 10, 2019

Conversation

@cclauss
Copy link
Collaborator

commented Jul 14, 2019

Fixes #985 @dilson @AlexDvorak Your reviews please?

$ Travis CI: Add pytest --doctest-modules neural_network_

neural_network/perceptron.py:123: in <module>
    sample.insert(i, float(input('value: ')))
../lib/python3.7/site-packages/_pytest/capture.py:693: in read
    raise IOError("reading from stdin while output is captured")
E   OSError: reading from stdin while output is captured
-------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------
('\nEpoch:\n', 399)
------------------------

value:
@cclauss cclauss added the help wanted label Jul 14, 2019
@cclauss cclauss requested a review from AnupKumarPanwar Jul 14, 2019
@cclauss cclauss changed the title Travis CI: Add pytest --doctest-modules neural_network Travis CI: Add pytest --doctest-modules machine_learning Jul 16, 2019
Fixes #987
```
neural_network/perceptron.py:123: in <module>
    sample.insert(i, float(input('value: ')))
../lib/python3.7/site-packages/_pytest/capture.py:693: in read
    raise IOError("reading from stdin while output is captured")
E   OSError: reading from stdin while output is captured
-------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------
('\nEpoch:\n', 399)
------------------------

value:
```
@cclauss cclauss force-pushed the cclauss-patch-3 branch from 0a22982 to ef32568 Jul 20, 2019
@cclauss

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 20, 2019

@QuantumNovice Please let me know if you can figure out how to fix this failing test:
https://travis-ci.org/TheAlgorithms/Python/builds/561390021#L579

cclauss added 2 commits Jul 20, 2019
@cclauss cclauss added Need Reviews and removed help wanted labels Jul 21, 2019
@cclauss cclauss requested a review from ParthS007 Jul 21, 2019
@cclauss cclauss merged commit 36684db into master Aug 10, 2019
2 checks passed
2 checks passed
LGTM analysis: Python 1 fixed alert
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@cclauss cclauss deleted the cclauss-patch-3 branch Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.