Remove no longer needed clean up code (#44408)

diff --git a/packages/flutter/test/widgets/heroes_test.dart b/packages/flutter/test/widgets/heroes_test.dart
index 9737ccf..23e3291 100644
--- a/packages/flutter/test/widgets/heroes_test.dart
+++ b/packages/flutter/test/widgets/heroes_test.dart
@@ -479,11 +479,6 @@
 
     Navigator.pop(heroes.evaluate().first);
     await tester.pump(); // ...and removes it straight away (since it's already at 0.0)
-
-    // this is verifying that there's no crash
-
-    // TODO(ianh): once https://github.com/flutter/flutter/issues/5631 is fixed, remove this line:
-    await tester.pump(const Duration(hours: 1));
   });
 
   testWidgets('Overlapping starting and ending a hero transition works ok', (WidgetTester tester) async {
@@ -513,11 +508,6 @@
     Navigator.pop(heroes.evaluate().first);
     await tester.pump(const Duration(hours: 1)); // so the first transition is finished, but the second hasn't started
     await tester.pump();
-
-    // this is verifying that there's no crash
-
-    // TODO(ianh): once https://github.com/flutter/flutter/issues/5631 is fixed, remove this line:
-    await tester.pump(const Duration(hours: 1));
   });
 
   testWidgets('One route, two heroes, same tag, throws', (WidgetTester tester) async {