Discussion:
[Twisted-Python] deprecate using paths with trial
Jean-Paul Calderone
2017-02-12 15:10:53 UTC
Permalink
Hello,

Since trial has stopped adding the working directory to sys.path, it seems
very sensible to also stop accepting paths as a way to specify what tests
to run. Instead, only package, module, class, or test method names should
be accepted.

Please add your thoughts (reasoned arguments, not +1s and -1s) to this
ticket:

https://twistedmatrix.com/trac/ticket/9035

Thanks,
Jean-Paul
Glyph Lefkowitz
2017-02-14 22:31:53 UTC
Permalink
Post by Jean-Paul Calderone
Hello,
Since trial has stopped adding the working directory to sys.path, it seems very sensible to also stop accepting paths as a way to specify what tests to run. Instead, only package, module, class, or test method names should be accepted.
https://twistedmatrix.com/trac/ticket/9035 <https://twistedmatrix.com/trac/ticket/9035>
Thanks for bringing this up, JP. As it happens I disagree right now (comments on the ticket as requested) but this is something we should try to make a coherent decision on to ensure the command-line tooling is as consistent as possible :-).

-glyph

Continue reading on narkive:
Loading...