@@ -166,7 +166,6 @@ def test_timestamp_ringbuffer_missing_parameter(
166166 """Test ordered ring buffer."""
167167 buffer .update (Sample (datetime (2 , 2 , 2 , 0 , 0 , tzinfo = timezone .utc ), Quantity (0 )))
168168
169- # pylint: disable=protected-access
170169 assert buffer .normalize_timestamp (buffer .gaps [0 ].start ) == buffer .gaps [0 ].start
171170
172171 # Expecting one gap now, made of all the previous entries of the one just
@@ -175,7 +174,6 @@ def test_timestamp_ringbuffer_missing_parameter(
175174 assert buffer .gaps [0 ].end == datetime (2 , 2 , 2 , tzinfo = timezone .utc )
176175
177176 # Add entry so that a second gap appears
178- # pylint: disable=protected-access
179177 assert buffer .normalize_timestamp (
180178 datetime (2 , 2 , 2 , 0 , 7 , 31 , tzinfo = timezone .utc )
181179 ) == datetime (2 , 2 , 2 , 0 , 10 , tzinfo = timezone .utc )
@@ -333,11 +331,9 @@ def test_timestamp_ringbuffer_missing_parameter_smoke(
333331 expected_gaps = list (
334332 map (
335333 lambda x : Gap (
336- # pylint: disable=protected-access
337334 start = buffer .normalize_timestamp (
338335 datetime .fromtimestamp (200 + x [0 ] * resolution , tz = timezone .utc )
339336 ),
340- # pylint: disable=protected-access
341337 end = buffer .normalize_timestamp (
342338 datetime .fromtimestamp (200 + x [1 ] * resolution , tz = timezone .utc )
343339 ),
0 commit comments