Skip to content
Myr

Merge branch '2.0.x'

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

authored by David Lord · committed by David Lord · parents 1ce0f77, 8648750 · Browse files · 2 files+9 added−1 removed
This commit

State

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

Diff stats

2 files+9 added−1 removed

  • tests:+0 added−1 removed
  • other:+9 added−0 removed

2 files+9 added−1 removed

modified:tests/test_basic.py-1 removed
1446 unmodified lines
1447 assert rv.status_code == 2001448 rv.close()144914501451@pytest.mark.skipif(sys.version_info < (3, 6), reason="requires Python >= 3.6")1451def test_static_folder_with_pathlib_path(app):1452 from pathlib import Path14531454 app = flask.Flask(__name__, static_folder=Path("static"))
574 unmodified lines
modified:CHANGES.rst+9 added
113 unmodified lines
114 ``timedelta.total_seconds()`` instead. :pr:`3962`115- Add type hinting. :pr:`3973`.116117118Version 1.1.4119-------------120121Released 2021-05-13122123- Update ``static_folder`` to use ``_compat.fspath`` instead of124 ``os.fspath`` to continue supporting Python < 3.6 :issue:`4050`125126127Version 1.1.3128-------------129130Released 2021-05-13
1020 unmodified lines