Skip to content

Commit

Permalink
Merge pull request #651 from yan12125/unittest-mock
Browse files Browse the repository at this point in the history
Replace mock with unittest.mock
  • Loading branch information
vidartf committed Mar 24, 2023
2 parents 2da614b + 742e38f commit 50c9347
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
python -m pip install jupyterlab~=3.0
npm install -g codecov
- name: Use Node.js 12.x
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x
- name: Get npm cache directory
id: npm-cache-dir
run: |
Expand Down Expand Up @@ -95,6 +95,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
export NODE_OPTIONS="--openssl-legacy-provider"
python -m pip install codecov
python -m pip install --upgrade pip
python -m pip install jupyterlab~=3.0
Expand Down
2 changes: 1 addition & 1 deletion nbdime/tests/test_git_diffdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import os
from os.path import join as pjoin
import sys
from unittest import mock

import mock
import pytest
from tornado import ioloop

Expand Down
2 changes: 1 addition & 1 deletion nbdime/tests/test_hg_differ.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import os
from os.path import join as pjoin
from unittest import mock

import mock
import pytest
from tornado import ioloop

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
'pytest-tornado',
'jupyter_server[test]',
'jsonschema',
'mock',
'notebook',
'requests',
'tabulate', # For profiling
Expand Down

0 comments on commit 50c9347

Please sign in to comment.