[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Drop absolute_import statements
commit 2830f8f7d3ceba57d035079ce3f4136fe2274262
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Tue Mar 24 17:14:48 2020 -0700
Drop absolute_import statements
This became the default in python 3.0 according to...
https://docs.python.org/3/library/__future__.html
---
stem/exit_policy.py | 2 --
stem/socket.py | 2 --
test/integ/process.py | 2 --
test/unit/doctest.py | 2 --
4 files changed, 8 deletions(-)
diff --git a/stem/exit_policy.py b/stem/exit_policy.py
index e2a64bc4..f67e9f82 100644
--- a/stem/exit_policy.py
+++ b/stem/exit_policy.py
@@ -63,8 +63,6 @@ exiting to a destination is permissible or not. For instance...
============ ===========
"""
-from __future__ import absolute_import
-
import functools
import re
import socket
diff --git a/stem/socket.py b/stem/socket.py
index 2ef42dd5..db110973 100644
--- a/stem/socket.py
+++ b/stem/socket.py
@@ -70,8 +70,6 @@ Tor...
send_formatting - Performs the formatting expected from sent messages.
"""
-from __future__ import absolute_import
-
import re
import socket
import ssl
diff --git a/test/integ/process.py b/test/integ/process.py
index 347e3f11..12cc493a 100644
--- a/test/integ/process.py
+++ b/test/integ/process.py
@@ -2,8 +2,6 @@
Tests the stem.process functions with various use cases.
"""
-from __future__ import absolute_import
-
import binascii
import hashlib
import os
diff --git a/test/unit/doctest.py b/test/unit/doctest.py
index 120940ba..267d2ca5 100644
--- a/test/unit/doctest.py
+++ b/test/unit/doctest.py
@@ -2,8 +2,6 @@
Tests examples from our documentation.
"""
-from __future__ import absolute_import
-
import doctest
import os
import unittest
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits