diff --git a/python/test_requirements.txt b/python/test_requirements.txt index b102b526..7e53ca53 100644 --- a/python/test_requirements.txt +++ b/python/test_requirements.txt @@ -2,4 +2,3 @@ flake8>=2.0 mock>=1.0.1 nose>=1.3.0 PyHamcrest>=1.8.0 -argparse>=1.4.0 diff --git a/run_tests.py b/run_tests.py index 289aba63..9dc18542 100755 --- a/run_tests.py +++ b/run_tests.py @@ -4,7 +4,6 @@ import os import subprocess import os.path as p import sys -import argparse DIR_OF_THIS_SCRIPT = p.dirname( p.abspath( __file__ ) ) DIR_OF_THIRD_PARTY = p.join( DIR_OF_THIS_SCRIPT, 'third_party' ) @@ -19,8 +18,10 @@ if os.environ.get( 'PYTHONPATH' ): python_path.append( os.environ[ 'PYTHONPATH' ] ) os.environ[ 'PYTHONPATH' ] = os.pathsep.join( python_path ) -sys.path.insert( 1, p.abspath( p.join( DIR_OF_THIRD_PARTY, 'argparse' ) ) ) +sys.path.insert( 1, p.abspath( p.join( DIR_OF_YCMD_THIRD_PARTY, + 'argparse' ) ) ) +import argparse def RunFlake8(): print( 'Running flake8' )