Explorar o código

Use argparse's append mode for '--not-tag'

Doug Ilijev %!s(int64=8) %!d(string=hai) anos
pai
achega
53ef24a4d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/runtests.py

+ 1 - 1
test/runtests.py

@@ -62,7 +62,7 @@ parser.add_argument('--nightly', action='store_true',
                     help='run as nightly tests')
 parser.add_argument('--tag', nargs='*',
                     help='select tests with given tags')
-parser.add_argument('--not-tag', nargs='*',
+parser.add_argument('--not-tag', action='append',
                     help='exclude tests with given tags')
 parser.add_argument('--flags', default='',
                     help='global test flags to ch')