Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 src/future/moves/_dummy_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from future.utils import PY3

if PY3:
from _dummy_thread import *
from _thread import *
else:
__future_module__ = True
from dummy_thread import *
2 changes: 1 addition & 1 deletion 2 src/future/standard_library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
# 'Tkinter': 'tkinter',
'_winreg': 'winreg',
'thread': '_thread',
'dummy_thread': '_dummy_thread',
'dummy_thread': '_thread',
# 'anydbm': 'dbm', # causes infinite import loop
# 'whichdb': 'dbm', # causes infinite import loop
# anydbm and whichdb are handled by fix_imports2
Expand Down
1 change: 0 additions & 1 deletion 1 tests/test_future/test_standard_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ def test_urllib_imports_install_hooks(self):

def test_underscore_prefixed_modules(self):
import _thread
import _dummy_thread
import _markupbase
self.assertTrue(True)

Expand Down
2 changes: 0 additions & 2 deletions 2 tests/test_future/test_urllib_toplevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,6 @@ def test_unquoting(self):
"%s" % result)
self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, None)
self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, ())
with support.check_warnings(('', BytesWarning), quiet=True):
self.assertRaises((TypeError, AttributeError), urllib_parse.unquote, bytes(b''))

def test_unquoting_badpercent(self):
# Test unquoting on bad percent-escapes
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.