diff --git a/django/contrib/admin/tests.py b/django/contrib/admin/tests.py index c035392e16..72cb0606f3 100644 --- a/django/contrib/admin/tests.py +++ b/django/contrib/admin/tests.py @@ -32,7 +32,6 @@ class AdminSeleniumWebDriverTestCase(StaticLiveServerCase): @classmethod def _tearDownClassInternal(cls): if hasattr(cls, 'selenium'): - cls.selenium.refresh() # see ticket #21227 cls.selenium.quit() super(AdminSeleniumWebDriverTestCase, cls)._tearDownClassInternal() diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py index 35b37b3ea1..a939fd6fc1 100644 --- a/tests/view_tests/tests/test_i18n.py +++ b/tests/view_tests/tests/test_i18n.py @@ -192,7 +192,6 @@ class JavascriptI18nTests(LiveServerTestCase): @classmethod def tearDownClass(cls): - cls.selenium.refresh() # see ticket #21227 cls.selenium.quit() super(JavascriptI18nTests, cls).tearDownClass()