PEP8 The order of imports should be standard library, other packages, this package, ie this should be:

```python
import os

import tables
import numpy as np
from numpy.testing import assert_array_equal

from tools import check_cmd
```