Skip to content

Commit

Permalink
Always import mock from unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
moomoohk authored Jun 11, 2024
1 parent dfd5546 commit 34f68ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_get_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import decimal
import time

try:
from unittest import mock
except ImportError:
import mock
from unittest import mock

from nose2.tools.such import helper

Expand Down

0 comments on commit 34f68ae

Please sign in to comment.