golang/_gopath_test: Redo $GOPATH set/restore via fixture
Currently gimport tests depend on module-level setup_module / teardown_module, which require for gimport tests to be in separate file. Redo the test not to depend on global module-level state and setup/teardown. This allows e.g. to merge gimport tests into golang_test.py if/when we want/need to.
Showing with 10 additions and 12 deletions