Browse Source

Always run memory tests

pull/1389/head
Markus Unterwaditzer 10 years ago
parent
commit
1aa8a54b17
  1. 3
      Makefile
  2. 4
      tests/test_regression.py

3
Makefile

@ -8,9 +8,6 @@ test:
tox-test: tox-test:
tox tox
test-with-mem:
RUN_FLASK_MEMORY_TESTS=1 python run-tests.py
audit: audit:
python setup.py audit python setup.py audit

4
tests/test_regression.py

@ -48,10 +48,6 @@ class assert_no_leak(object):
gc.enable() gc.enable()
# XXX: untitaker: These tests need to be revised. They broke around the time we
# ported Flask to Python 3.
@pytest.mark.skipif(os.environ.get('RUN_FLASK_MEMORY_TESTS') != '1',
reason='Turned off due to envvar.')
def test_memory_consumption(): def test_memory_consumption():
app = flask.Flask(__name__) app = flask.Flask(__name__)

Loading…
Cancel
Save