Skip to content

Commit

Permalink
Deprectaed pydicom function: read_file → dcmread
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Oct 8, 2023
1 parent a6bdfcc commit e0d48bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pynetdicom/tests/test_ae.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import pytest

from pydicom import read_file, config as PYD_CONFIG
from pydicom import dcmread, config as PYD_CONFIG
from pydicom.dataset import Dataset
from pydicom.uid import UID, ImplicitVRLittleEndian

Expand Down Expand Up @@ -37,8 +37,8 @@


TEST_DS_DIR = os.path.join(os.path.dirname(__file__), "dicom_files")
DATASET = read_file(os.path.join(TEST_DS_DIR, "RTImageStorage.dcm"))
COMP_DATASET = read_file(
DATASET = dcmread(os.path.join(TEST_DS_DIR, "RTImageStorage.dcm"))
COMP_DATASET = dcmread(
os.path.join(TEST_DS_DIR, "MRImageStorage_JPG2000_Lossless.dcm")
)

Expand Down

0 comments on commit e0d48bc

Please sign in to comment.