mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 18:49:26 +08:00
Pytest the entire repo (#980)
* Pytest the entire repo * Do each directory for now... * YAML files hate tabs * Add more requirements * pip install opencv-python * Comment out FTP * Add pandas and sklearn to requirements * Comment out FTP, graphs, machine_learning, maths, neural_network, project_euler * Update .travis.yml * Comment out Data structures * if __name__ == "__main__": * pytest --ignore= * pytest . * Update .travis.yml * pytest . --doctest-modules --ignore=${IGNORE} * Ignore --ignore because it just hangs
This commit is contained in:
@ -37,5 +37,6 @@ def LongestIncreasingSubsequenceLength(v):
|
||||
return length
|
||||
|
||||
|
||||
v = [2, 5, 3, 7, 11, 8, 10, 13, 6]
|
||||
print(LongestIncreasingSubsequenceLength(v))
|
||||
if __name__ == "__main__":
|
||||
v = [2, 5, 3, 7, 11, 8, 10, 13, 6]
|
||||
print(LongestIncreasingSubsequenceLength(v))
|
||||
|
Reference in New Issue
Block a user