Better import for sometimes failing mypy test (#4016)
Better import for sometimes failing mypy test (#4016)

Would get:

dev_tools/bash_scripts_test.py:33: error: Name
'_pytest.tmpdir.TempdirFactory' is not defined

This fixes it. Don't know why it sometimes works on
some configurations.
quantumlib/Cirq,quantumlib/Cirq,quantumlib/Cirq,balopat/Cirq,balopat/Cirq,balopat/Cirq,quantumlib/Cirq,quantumlib/Cirq