[Twisted-Python] trial cant find my class, example from twisted docs
Hynek Schlawack
hs at ox.cx
Tue Feb 21 03:34:05 MST 2017
>>> any idea why this does not work?
>>
>> Most likely you are being bitten by the recent change to not add '.'
>> to sys.path automatically.
>>
>> Does `PYTHONPATH=. trial ...` run your code as expected?
>>
> Yes, thanks very much. this kind of change really makes one doubt ones
> abilities.
>
> Should i write a ticket for this?
No, you should start installing your packages and applications in dev lest packaging errors come back in prod and bite you. :)
More on that: https://hynek.me/articles/testing-packaging/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20170221/9eeb846b/attachment-0002.html>
More information about the Twisted-Python
mailing list