mirror of
https://github.com/rasterio/rasterio.git
synced 2026-02-01 14:34:43 +00:00
Remove unused import and deprecated usage
This commit is contained in:
parent
bfe032af44
commit
24e2cd4bc0
@ -1,6 +1,5 @@
|
||||
"""Tests of rasterio._path and alias"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
@ -9,9 +8,6 @@ import rasterio
|
||||
from rasterio.errors import PathError
|
||||
from rasterio._path import _parse_path, _vsi_path, _ParsedPath, _UnparsedPath
|
||||
|
||||
# This will cause a deprecation warning in 1.3.
|
||||
from rasterio.path import parse_path, vsi_path, ParsedPath, UnparsedPath
|
||||
|
||||
|
||||
def test_parsed_path_name():
|
||||
"""A parsed path's name property is correct"""
|
||||
@ -243,4 +239,4 @@ def test_parse_path_win_no_pathlib(monkeypatch):
|
||||
|
||||
def test_parse_gdal_vsi_alias():
|
||||
"""Check that the alias function works"""
|
||||
assert parse_path('/vsifoo/bar').path == '/vsifoo/bar'
|
||||
assert _parse_path('/vsifoo/bar').path == '/vsifoo/bar'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user