summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/regressiontests/forms/tests/widgets.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regressiontests/forms/tests/widgets.py b/tests/regressiontests/forms/tests/widgets.py
index 599ba534cf..640e9221b2 100644
--- a/tests/regressiontests/forms/tests/widgets.py
+++ b/tests/regressiontests/forms/tests/widgets.py
@@ -1116,6 +1116,12 @@ class LiveWidgetTests(AdminSeleniumWebDriverTestCase):
article = Article.objects.get(pk=article.pk)
# Should be "\nTst\n" after #19251 is fixed
self.assertEqual(article.content, "\r\nTst\r\n")
+ # So now it's becoming obscure; we do have threading issues here, so this
+ # test fails sometimes for sqlite, I could only ever witness it on jenkins.
+ # As long as 1.5 is supported we manually "fix" this test by quitting
+ # selenium. No idea why closing the browser window isn't enough, but hey…
+ self.selenium.quit()
+ delattr(self.__class__, 'selenium')
@python_2_unicode_compatible