sumerc / yappi

Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
MIT License
1.44k stars 72 forks source link

Fix imports for tests #84

Closed threexc closed 2 years ago

threexc commented 3 years ago

Tests currently fail in Yocto/OpenEmbedded builds of yappi due to the way that the "utils" module is imported. Use a combination of relative imports and import aliases to make the tests work.

Signed-off-by: Trevor Gamblin trevor.gamblin@windriver.com

threexc commented 3 years ago

Alright, I guess my fix works for our environment but not the standard workflow here. I'll do some debugging...

sumerc commented 3 years ago

Only 3.10 seems to fail somehow. I could not look at it.