Import file mismatch

The stack you’re using

I’m using a python stack reported by pytest to have these features:

platform linux -- Python 3.5.1, pytest-3.0.3, py-1.4.31, pluggy-0.4.0
rootdir: /home/ubuntu/authorization-manager, inifile: 
plugins: hypothesis-3.5.2

The exact error message you are getting

The problem seems to begin here:

 ERROR collecting venv/lib/python3.5/site-packages/astroid/tests/testdata/python3/data/ 
import file mismatch:
imported module 'data.clientmodule_test' has this __file__ attribute:
which is not the same as the test file we want to collect:
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules

Which troubleshooting steps you’ve already taken

I’ve already tried doing a run without the cache but this had no effect on the error.

Any recent changes either in the codebase or the stack

Only impacting change is pinning of versions in the dependency listing. Otherwise, no changes to circle configuration file or codebase itself.

What happens when you run the tests locally

They run successfully and to completion.

What is supposed to happen when your build runs

Successful run of the test suite.

The build URL if the project is public

The project is private.