tests: use 'build' in tests instead of running setup.py (#3734)

Co-authored-by: Anderson Bravalheri <andersonbravalheri@gmail.com>

Co-authored-by: Anderson Bravalheri <andersonbravalheri@gmail.com>
3 files changed