Skip to content

Commit

Permalink
Clean up future imports for Python 2 (pytorch#53349)
Browse files Browse the repository at this point in the history
Summary:
See pytorch#42919

Pull Request resolved: pytorch#53349

Reviewed By: malfet

Differential Revision: D27039089

Pulled By: bugra

fbshipit-source-id: 8063dc184248604506a8dbb1bcb73da8ec85bb18
  • Loading branch information
skyline75489 authored and Sacha Refshauge committed Mar 31, 2021
1 parent 097c9ba commit 1cab521
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions caffe2/python/operator_test/sparse_normalize_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, division, print_function, unicode_literals

import caffe2.python.hypothesis_test_util as hu
import hypothesis
import hypothesis.strategies as st
Expand Down
2 changes: 0 additions & 2 deletions caffe2/quantization/server/compute_equalization_scale_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# limitations under the License.
##############################################################################

from __future__ import absolute_import, division, print_function, unicode_literals

import caffe2.python.hypothesis_test_util as hu
import hypothesis.strategies as st
import numpy as np
Expand Down
5 changes: 0 additions & 5 deletions test/onnx/test_pytorch_onnx_shape_inference.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

import unittest
import torch

Expand Down
1 change: 0 additions & 1 deletion torch/utils/hooks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import absolute_import, division, print_function, unicode_literals
import torch
from collections import OrderedDict
import weakref
Expand Down

0 comments on commit 1cab521

Please sign in to comment.