Skip to content
Myr

Skip template leak test when not CPython2.7, #452.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ron DuPlain · committed by Ron DuPlain · parent 148c50a · Browse files · 1 file+6 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−3 removed

  • other:+6 added−3 removed

1 file+6 added−3 removed

modified:flask/testsuite/regression.py+6 added-3 removed
70 unmodified lines
7172 # Trigger caches73 fire()7475 # This test only works on CPython 2.7.76 if sys.version_info >= (2, 7) and \77 not hasattr(sys, 'pypy_translation_info'):75 with self.assert_no_leak():76 for x in xrange(10):77 fire()78 with self.assert_no_leak():79 for x in xrange(10):80 fire()818283def suite():84 suite = unittest.TestSuite()
2 unmodified lines