importunittestimportpandasaspdimportgeopandasasgpdfromshapely.geometryimportPointfromcontextimportmeasprocessasmpcclassTestPlottingOSM(unittest.TestCase):defsetUp(self):complete_dataset=pd.read_csv("tests/example_files/gps_test/gps.csv",index_col=0)gps_series=complete_dataset[['Lon.','Lat.']].valuesself._gps_series=gpd.GeoSeries((Point(lon,lat)forlon,latingps_series))deftest_basic(self):#Check if no exception comes upseries=self._gps_series.set_crs("EPSG:4326")mpc.plotting.plot_series_osm(series,show=False)deftest_exception_epsg(self):withself.assertRaises(ValueError):series=self._gps_series#.set_crs("EPSG:4326")mpc.plotting.plot_series_osm(series,show=False)if__name__=='__main__':unittest.main()