Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit committed Nov 19, 2024
1 parent b5627c3 commit f16052b
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions python/grass/pygrass/tests/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,17 @@
from pathlib import Path


def path_setup():
sys.path.append(str(Path.cwd()))
sys.path.append("%s/.." % (str(Path.cwd())))
sys.path.append(str(Path.cwd()))
sys.path.append("%s/.." % (str(Path.cwd())))


def import_dependencies():
import grass.lib.gis as libgis
import grass.lib.raster as libraster
import grass.script as gs
import ctypes
# flake8: noqa: E402
import grass.lib.gis as libgis
import grass.lib.raster as libraster
import grass.script as gs
import ctypes

return libgis, libraster, gs, ctypes


path_setup()
libgis, libraster, gs, ctypes = import_dependencies()
# flake8: qa


def test__RasterSegment_value_access__if():
Expand Down

0 comments on commit f16052b

Please sign in to comment.