kmonsoor / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Tests for media player fail with AttributeError #772

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The tests for media.PLAYER* report the following failures:

INFO Begin unit tests for media.PLAYER_QUEUE_PLAY                               

513 ERROR Error in media.PLAYER_QUEUE_PLAY                                      

514 ERROR Traceback (most recent call last):                                    

515   File "../tests/media/PLAYER_QUEUE_PLAY.py", line 24, in test_method       

516     player.dispatch_events()                                                

517 AttributeError: 'Player' object has no attribute 'dispatch_events'          

518                                                                             

519 INFO 1 tests run                                                            

520 INFO --- test (122/141) media.PLAYER_PLAY_QUEUE                             

521 INFO Begin unit tests for media.PLAYER_PLAY_QUEUE                           

522 ERROR Error in media.PLAYER_PLAY_QUEUE                                      

523 ERROR Traceback (most recent call last):                                    

524   File "../tests/media/PLAYER_PLAY_QUEUE.py", line 24, in test_method       

525     player.dispatch_events()                                                

526 AttributeError: 'Player' object has no attribute 'dispatch_events'          

527                                                                             

528 INFO 1 tests run                                                            

529 INFO --- test (123/141) media.PLAYER_PAUSE                                  

530 INFO Begin unit tests for media.PLAYER_PAUSE                                

531 ERROR Error in media.PLAYER_PAUSE                                           

532 ERROR Traceback (most recent call last):                                    

533   File "../tests/media/PLAYER_PAUSE.py", line 34, in test_method            

534     player.dispatch_events()                                                

535 AttributeError: 'Player' object has no attribute 'dispatch_events'          

536                                                                             

537 INFO 1 tests run                                                            

538 INFO --- test (124/141) media.PLAYER_PAUSE_QUEUE                            

539 INFO Begin unit tests for media.PLAYER_PAUSE_QUEUE                          

540 ERROR Error in media.PLAYER_PAUSE_QUEUE                                     

541 ERROR Traceback (most recent call last):                                    

542   File "../tests/media/PLAYER_PAUSE_QUEUE.py", line 24, in test_method      

543     player.dispatch_events()                                                

544 AttributeError: 'Player' object has no attribute 'dispatch_events'          

545                                                                             

546 INFO 1 tests run                                                            

547 INFO --- test (125/141) media.PLAYER_EOS_NEXT                               

548 INFO Begin unit tests for media.PLAYER_EOS_NEXT                             

549 ERROR Error in media.PLAYER_EOS_NEXT                                        

550 ERROR Traceback (most recent call last):                                    

551   File "../tests/media/PLAYER_EOS_NEXT.py", line 26, in test_method         

552     player.dispatch_events()                                                

553 AttributeError: 'Player' object has no attribute 'dispatch_events'          

554                                                                             

555 INFO 1 tests run                                                            

556 INFO --- test (126/141) media.PLAYER_STATIC_STATIC                          

557 INFO Begin unit tests for media.PLAYER_STATIC_STATIC                        

558 ERROR Error in media.PLAYER_STATIC_STATIC                                   

559 ERROR Traceback (most recent call last):                                    

560   File "../tests/media/PLAYER_STATIC_STATIC.py", line 26, in test_method    

561     player.dispatch_events()                                                

562 AttributeError: 'Player' object has no attribute 'dispatch_events'          

Tested on Ubuntu 14.04 with KDE using Pyglet 1.2rc1

Original issue reported on code.google.com by Silveste...@gmail.com on 25 Jan 2015 at 4:16