Skip to content

Commit

Permalink
Remove dependency on mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaverga committed Dec 29, 2022
1 parent 64e87ef commit deda85a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dynamic = ["version"]

[project.optional-dependencies]
data = ["pandas"]
development = ["pytest", "mock", "flake8", "pytest-cov", "pytest-doctestplus"]
development = ["pytest", "flake8", "pytest-cov", "pytest-doctestplus"]
docs = ["pandas", "sphinx", "sphinx_rtd_theme"]

[project.scripts]
Expand Down
3 changes: 2 additions & 1 deletion tests/scripts/test_ongc.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
# SOFTWARE.
#

from unittest import mock

from click.testing import CliRunner
import os.path
import mock

from pyongc.scripts import ongc
from pyongc import __version__ as version
Expand Down
3 changes: 1 addition & 2 deletions tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
# SOFTWARE.
#

from unittest import mock
import pandas as pd
import pytest

import mock

from pyongc import data


Expand Down
2 changes: 1 addition & 1 deletion tests/test_ongc.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
# SOFTWARE.
#

from unittest import mock
import pytest

import json
import mock
import numpy as np

from pyongc import ongc, exceptions
Expand Down

0 comments on commit deda85a

Please sign in to comment.