Fix style in `test_device.py`
Fix style in `test_device.py`

Also put generated files in a temporary directory.

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue