diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 736c41fa6..0f0baab3f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -138,14 +138,14 @@ jobs: run: tox -e ${{ matrix.toxenv }} - name: Combine coverage - if: ${{ matrix.toxenv == 'py310' || matrix.toxenv == 'py310_sans_msgpack' }} + if: ${{ matrix.toxenv == 'py35' || matrix.toxenv == 'py310' || matrix.toxenv == 'py310_sans_msgpack' }} run: | coverage --version coverage combine - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 - if: ${{ matrix.toxenv == 'py310' || matrix.toxenv == 'py310_sans_msgpack' }} + if: ${{ matrix.toxenv == 'py35' || matrix.toxenv == 'py310' || matrix.toxenv == 'py310_sans_msgpack' }} with: env_vars: PYTHON fail_ci_if_error: true diff --git a/falcon/util/misc.py b/falcon/util/misc.py index bac598ebc..36b52b263 100644 --- a/falcon/util/misc.py +++ b/falcon/util/misc.py @@ -71,9 +71,7 @@ # PERF(kgriffs): Avoid superfluous namespace lookups _strptime = datetime.datetime.strptime -_utcnow = functools.partial( - datetime.datetime.now, datetime.timezone.utc -) +_utcnow = functools.partial(datetime.datetime.now, datetime.timezone.utc) # The above aliases were not underscored prior to Falcon 3.1.2. strptime = deprecated(