From e0d48bcade91da7a463954f164583795a47c66bc Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:19:41 +0200 Subject: [PATCH] =?UTF-8?q?Deprectaed=20pydicom=20function:=20read=5Ffile?= =?UTF-8?q?=20=E2=86=92=20dcmread?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/pydicom/pydicom/pull/1857/files --- pynetdicom/tests/test_ae.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pynetdicom/tests/test_ae.py b/pynetdicom/tests/test_ae.py index 57f813fcb..f2fc4895b 100644 --- a/pynetdicom/tests/test_ae.py +++ b/pynetdicom/tests/test_ae.py @@ -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 @@ -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") )