734716d1a9dc77380460867b64188d4c7c0f7e6a,tests/test_osmnx.py,,test_geometries,#,414

Before Change


    gdf = ox.geometries_from_point((48.15, 10.02), tags={"landuse": True}, dist=2000)

    // geometries_from_address
    gdf = ox.geometries_from_address(address, tags={"amenity": "school"})

    // geometries_from_place - includes test of list of places
    tags = {

After Change


    for filename in ("tests/input_data/West-Oakland.osm.bz2", temp_filename):
        gdf = ox.geometries_from_xml(filename)
        assert "Willow Street" in gdf["name"].values
    os.remove(temp_filename)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: gboeing/osmnx
Commit Name: 734716d1a9dc77380460867b64188d4c7c0f7e6a
Time: 2020-09-07
Author: boeing@usc.edu
File Name: tests/test_osmnx.py
Class Name:
Method Name: test_geometries


Project Name: GPflow/GPflow
Commit Name: 30074d7db26c98cf0770cd9ad369e8e89158b906
Time: 2017-09-20
Author: art.art.v@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 20b4bd38abde412341ad90d0223de37cf579953d
Time: 2019-08-07
Author: rebeccabilbro@users.noreply.github.com
File Name: yellowbrick/regressor/residuals.py
Class Name: PredictionError
Method Name: __init__