Use path.join instead of string concatenation.
This commit is contained in:
parent
10d7a7591a
commit
666f27787b
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ def main():
|
|||
argv.append('-v')
|
||||
argv.append('-v')
|
||||
|
||||
dirname = os.path.dirname(sys.argv[0])
|
||||
argv.extend(['-w', dirname+'/python_tests'])
|
||||
dirname = os.path.dirname(sys.argv[0])
|
||||
argv.extend(['-w', os.path.join(dirname,'python_tests')])
|
||||
|
||||
if not nose.run(argv=argv, plugins=[TodoPlugin(), Doctest()]):
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue