@@ -543,12 +543,12 @@ def _test_raw_crop(reader, t_prop, kwargs):
543543 raw_2 , raw_3 = raw_1 .copy (), raw_1 .copy ()
544544 t_tot = raw_1 .times [- 1 ] * 3 + 2.0 / raw_1 .info ["sfreq" ]
545545 raw_concat = concatenate_raws ([raw_1 , raw_2 , raw_3 ])
546- assert len (raw_concat ._filenames ) == 3
546+ assert len (raw_concat .filenames ) == 3
547547 assert_allclose (raw_concat .times [- 1 ], t_tot )
548548 assert_allclose (raw_concat .first_time , first_time )
549549 # keep all instances, but crop to t_start at the beginning
550550 raw_concat .crop (t_start , None )
551- assert len (raw_concat ._filenames ) == 3
551+ assert len (raw_concat .filenames ) == 3
552552 assert_allclose (raw_concat .times [- 1 ], t_tot - t_start , atol = atol )
553553 assert_allclose (
554554 raw_concat .first_time ,
@@ -558,7 +558,7 @@ def _test_raw_crop(reader, t_prop, kwargs):
558558 )
559559 # drop the first instance
560560 raw_concat .crop (crop_t , None )
561- assert len (raw_concat ._filenames ) == 2
561+ assert len (raw_concat .filenames ) == 2
562562 assert_allclose (raw_concat .times [- 1 ], t_tot - t_start - crop_t , atol = atol )
563563 assert_allclose (
564564 raw_concat .first_time ,
@@ -568,7 +568,7 @@ def _test_raw_crop(reader, t_prop, kwargs):
568568 )
569569 # drop the second instance, leaving just one
570570 raw_concat .crop (crop_t , None )
571- assert len (raw_concat ._filenames ) == 1
571+ assert len (raw_concat .filenames ) == 1
572572 assert_allclose (raw_concat .times [- 1 ], t_tot - t_start - 2 * crop_t , atol = atol )
573573 assert_allclose (
574574 raw_concat .first_time ,
0 commit comments