File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ def test_exists_searches_cache_first(self):
304304 def test_load_overlong_key (self ):
305305 # Some backends might issue a warning
306306 with warnings .catch_warnings ():
307+ warnings .simplefilter ("ignore" )
307308 self .session ._session_key = (string .ascii_letters + string .digits ) * 20
308309 self .assertEqual (self .session .load (), {})
309310
@@ -353,6 +354,7 @@ class CacheSessionTests(SessionTestsMixin, unittest.TestCase):
353354 def test_load_overlong_key (self ):
354355 # Some backends might issue a warning
355356 with warnings .catch_warnings ():
357+ warnings .simplefilter ("ignore" )
356358 self .session ._session_key = (string .ascii_letters + string .digits ) * 20
357359 self .assertEqual (self .session .load (), {})
358360
You can’t perform that action at this time.
0 commit comments