Skip to content

Commit

Permalink
Merge pull request #224 from Rotzbua/fix_imports
Browse files Browse the repository at this point in the history
fix: remove compatibility imports
  • Loading branch information
lopuhin committed Apr 17, 2024
2 parents 9be7102 + 12e902c commit f4cdd1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions extruct/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import print_function

from extruct.tool import main

if __name__ == "__main__":
Expand Down
6 changes: 1 addition & 5 deletions tests/test_tool.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# mypy: disallow_untyped_defs=False
import json
import unittest

try:
import unittest.mock as mock
except ImportError:
import mock # type: ignore[no-redef]
import unittest.mock as mock

from requests.exceptions import HTTPError

Expand Down

0 comments on commit f4cdd1c

Please sign in to comment.