Index: tests/phpunit/includes/testcase-xmlrpc.php
===================================================================
--- tests/phpunit/includes/testcase-xmlrpc.php	(revision 30278)
+++ tests/phpunit/includes/testcase-xmlrpc.php	(working copy)
@@ -16,6 +16,7 @@
 
 	function tearDown() {
 		remove_filter( 'pre_option_enable_xmlrpc', '__return_true' );
+		$this->remove_added_uploads();
 
 		parent::tearDown();
 	}
