@@ -314,6 +314,7 @@ def test_sid_accessor(self):
314
314
"""
315
315
with warnings .catch_warnings (record = True ) as w :
316
316
warnings .simplefilter ("ignore" , PerformanceWarning )
317
+ warnings .simplefilter ("ignore" , RuntimeWarning )
317
318
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
318
319
algo = self .create_algo (sid_accessor_algo )
319
320
algo .run (self .data_portal )
@@ -343,6 +344,7 @@ def test_data_items(self):
343
344
"""
344
345
with warnings .catch_warnings (record = True ) as w :
345
346
warnings .simplefilter ("ignore" , PerformanceWarning )
347
+ warnings .simplefilter ("ignore" , RuntimeWarning )
346
348
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
347
349
algo = self .create_algo (data_items_algo )
348
350
algo .run (self .data_portal )
@@ -368,6 +370,7 @@ def test_data_items(self):
368
370
def test_iterate_data (self ):
369
371
with warnings .catch_warnings (record = True ) as w :
370
372
warnings .simplefilter ("ignore" , PerformanceWarning )
373
+ warnings .simplefilter ("ignore" , RuntimeWarning )
371
374
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
372
375
373
376
algo = self .create_algo (simple_algo )
@@ -399,6 +402,7 @@ def test_iterate_data(self):
399
402
def test_history (self ):
400
403
with warnings .catch_warnings (record = True ) as w :
401
404
warnings .simplefilter ("ignore" , PerformanceWarning )
405
+ warnings .simplefilter ("ignore" , RuntimeWarning )
402
406
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
403
407
404
408
sim_params = self .sim_params .create_new (
@@ -441,6 +445,7 @@ def test_old_new_history_bts_paths(self):
441
445
def test_simple_transforms (self ):
442
446
with warnings .catch_warnings (record = True ) as w :
443
447
warnings .simplefilter ("ignore" , PerformanceWarning )
448
+ warnings .simplefilter ("ignore" , RuntimeWarning )
444
449
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
445
450
446
451
sim_params = SimulationParameters (
@@ -512,6 +517,7 @@ def test_simple_transforms(self):
512
517
def test_manipulation (self ):
513
518
with warnings .catch_warnings (record = True ) as w :
514
519
warnings .simplefilter ("ignore" , PerformanceWarning )
520
+ warnings .simplefilter ("ignore" , RuntimeWarning )
515
521
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
516
522
517
523
algo = self .create_algo (simple_algo )
@@ -534,6 +540,7 @@ def test_manipulation(self):
534
540
535
541
def test_reference_empty_position_by_int (self ):
536
542
with warnings .catch_warnings (record = True ) as w :
543
+ warnings .simplefilter ("ignore" , RuntimeWarning )
537
544
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
538
545
539
546
algo = self .create_algo (reference_missing_position_by_int_algo )
@@ -548,6 +555,7 @@ def test_reference_empty_position_by_int(self):
548
555
549
556
def test_reference_empty_position_by_unexpected_type (self ):
550
557
with warnings .catch_warnings (record = True ) as w :
558
+ warnings .simplefilter ("ignore" , RuntimeWarning )
551
559
warnings .simplefilter ("default" , ZiplineDeprecationWarning )
552
560
553
561
algo = self .create_algo (
0 commit comments