Skip to content

Commit

Permalink
setup pip cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 9, 2021
1 parent 32153e6 commit 5b68adf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install latex
if: runner.os == 'Linux' && matrix.deps == 'test_extra'
run: sudo apt-get -yq -o Acquire::Retries=3 --no-install-suggests --no-install-recommends install texlive dvipng
Expand Down
2 changes: 0 additions & 2 deletions IPython/utils/timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ def clock2():
Similar to clock(), but return a tuple of user/system times."""
return resource.getrusage(resource.RUSAGE_SELF)[:2]


else:
# There is no distinction of user/system time under windows, so we just use
# time.perff_counter() for everything...
Expand Down

0 comments on commit 5b68adf

Please sign in to comment.