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

Commented doctests that were causing slowness at Travis. #2 #1041

Merged
merged 27 commits into from
Jul 19, 2019
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
401ed00
Added doctest and more explanation about Dijkstra execution.
brunohadlich Jul 14, 2019
d13eb2c
tests were not passing with python2 due to missing __init__.py file a…
brunohadlich Jul 14, 2019
0e4e788
Removed the dot at the beginning of the imported modules names becaus…
brunohadlich Jul 14, 2019
8c4c820
Moved global code to main scope and added doctest for project euler p…
brunohadlich Jul 14, 2019
9fa20b3
Added test case for negative input.
brunohadlich Jul 15, 2019
8b17220
Changed N variable to do not use end of line scape because in case th…
brunohadlich Jul 15, 2019
6c11811
Added problems description and doctests to the ones that were missing…
brunohadlich Jul 15, 2019
cf4a9cf
Merge remote-tracking branch 'upstream/master'
brunohadlich Jul 16, 2019
b69db30
Changed the way files are loaded to support pytest call.
brunohadlich Jul 16, 2019
efa4bad
Added __init__.py to problems to make them modules and allow pytest e…
brunohadlich Jul 16, 2019
abfee10
Added project_euler folder to test units execution
brunohadlich Jul 16, 2019
304c09c
Merge branch 'master' of https://github.com/TheAlgorithms/Python
brunohadlich Jul 16, 2019
aa87466
Changed 'os.path.split(os.path.realpath(__file__))' to 'os.path.dirna…
brunohadlich Jul 16, 2019
f0e1631
Merge branch 'master' of https://github.com/TheAlgorithms/Python
brunohadlich Jul 16, 2019
c08c4b5
Added Burrows-Wheeler transform algorithm.
brunohadlich Jul 17, 2019
cf3df56
Added changes suggested by cclauss
brunohadlich Jul 17, 2019
c7c9eef
Fixes for issue 'Fix the LGTM issues #1024'.
brunohadlich Jul 18, 2019
29ff563
Merge branch 'master' of https://github.com/TheAlgorithms/Python
brunohadlich Jul 18, 2019
3bcde58
Added doctest for different parameter types and negative values.
brunohadlich Jul 18, 2019
176e801
Fixed doctest issue added at last commit.
brunohadlich Jul 18, 2019
6c8a214
Commented doctest that were causing slowness at Travis.
brunohadlich Jul 18, 2019
fe502f9
Merge branch 'master' of https://github.com/TheAlgorithms/Python
brunohadlich Jul 18, 2019
f0c9f21
Added comment with the reason for some doctest commented.
brunohadlich Jul 18, 2019
d9df3a8
pytest --ignore
cclauss Jul 18, 2019
454e2ff
Added tests execution again.
brunohadlich Jul 18, 2019
273a71e
Had forgotten to add comment to file project_euler/problem_09/sol3.py
brunohadlich Jul 18, 2019
1c579b0
Merge branch 'master' into master
brunohadlich Jul 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions project_euler/problem_09/sol3.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ def solution():
1. a**2 + b**2 = c**2
2. a + b + c = 1000

#>>> solution()
#31875000
# The code below has been commented due to slow execution affecting Travis.
# >>> solution()
# 31875000
"""
return [
a * b * c
Expand Down