Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
When tests are outside the main package, tox recommends putting the main package under an 'src' directory to ensure that the installed package is tested, not the source. This layout has other benefits, too.
We actually ran into this issue in the async support branch: the installation step adds the sync version by removing async/await keywords, so that's the only way to make tox work in that branch.
When tests are outside the main package, tox recommends putting the main package under an 'src' directory to ensure that the installed package is tested, not the source . This layout has other benefits, too.  : https://docs.pytest.org/en/latest/goodpractices.html : https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure
Now a TestHTTPS.test_client_no_intermediate failure on Python 3.4 on Windows: https://ci.appveyor.com/project/urllib3/urllib3/build/1.0.176/job/tenbr6b2hj4crfbg. Trying again!
Sorry for the noise, but I think it's useful to know what tests are flaky? Or maybe I should focus on fixing test_client_no_intermediate.
The latest failure? TestHTTPS.test_client_no_intermediate on macOS and Python 3.7: https://travis-ci.org/urllib3/urllib3/jobs/399606514.