refactor example geodata.py
-# Copyright (c) 2018-2021 Manfred Moitzi
+# Copyright (c) 2018-2022 Manfred Moitzi
# License: MIT License
-
-from pathlib import Path
from pprint import pprint
import ezdxf
-# depends not included test files
-DXF_TEST = Path(r"D:\Source\dxftest")
-PRODUCTS = DXF_TEST / "AutodeskProducts"
+# depends on a not included test files
+PRODUCTS = ezdxf.options.test_files_path / "AutodeskProducts"
doc = ezdxf.readfile(PRODUCTS / "Map3D_2017.dxf")
msp = doc.modelspace()
