Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures on Python 3.7 beta 5 and Windows 10 #77900

Closed
vstinner opened this issue May 31, 2018 · 6 comments
Closed

Test failures on Python 3.7 beta 5 and Windows 10 #77900

vstinner opened this issue May 31, 2018 · 6 comments
Labels
3.7 (EOL) end of life tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@vstinner
Copy link
Member

BPO 33719
Nosy @terryjreedy, @pfmoore, @vstinner, @tjguk, @ned-deily, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2018-07-23.12:46:17.814>
created_at = <Date 2018-05-31.14:53:06.654>
labels = ['3.7', 'type-bug', 'tests']
title = 'Test failures on Python 3.7 beta 5 and Windows 10'
updated_at = <Date 2018-07-23.12:46:17.813>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2018-07-23.12:46:17.813>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2018-07-23.12:46:17.814>
closer = 'vstinner'
components = ['Tests']
creation = <Date 2018-05-31.14:53:06.654>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 33719
keywords = []
message_count = 6.0
messages = ['318322', '318324', '318448', '320054', '320644', '322209']
nosy_count = 7.0
nosy_names = ['terry.reedy', 'paul.moore', 'vstinner', 'tim.golden', 'ned.deily', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33719'
versions = ['Python 3.6', 'Python 3.7']

@vstinner
Copy link
Member Author

I ran the test suite on an installed Python 3.7 beta5 on Windows 10. The following tests fail:

  • test_marshal.test_loads_2x_code(): Windows fatal exception: stack overflow
  • test_pkg: failures when run with -X utf8
  • test.test_tools.test_sundry.TestSundryScripts.test_sundry(): "optparse.BadOptionError: no such option: -m"

== test_marshal ==

C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -m test test_marshal -v
== CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: C:\Users\vstinner\AppData\Local\Temp\test_python_3836
== CPU count: 2
== encodings: locale=cp1252, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_marshal
(...)
test_loads_2x_code (test.test_marshal.BugsTestCase) ... Windows fatal exception: stack overflow

Current thread 0x000003a0 (most recent call first):
File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 178 in handle
File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\unittest\case.py", line 743 in assertRaises
File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_marshal.py", line 215 in test_loads_2x_code
(...)

== test_pkg ==

C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -X utf8 -m test -v test_pkg
== CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: C:\Users\vstinner\AppData\Local\Temp\test_python_6984
== CPU count: 2
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_pkg
test_1 (test.test_pkg.TestPkg) ... ok
test_2 (test.test_pkg.TestPkg) ... ok
test_3 (test.test_pkg.TestPkg) ... ok
test_4 (test.test_pkg.TestPkg) ... ERROR
test_5 (test.test_pkg.TestPkg) ... ok
test_6 (test.test_pkg.TestPkg) ... ok
test_7 (test.test_pkg.TestPkg) ... FAIL
test_8 (test.test_pkg.TestPkg) ... ok

======================================================================
ERROR: test_4 (test.test_pkg.TestPkg)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_pkg.py", line 180, in test_4
    self.run_code(s)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_pkg.py", line 69, in run_code
    exec(textwrap.dedent(code), globals(), {"self": self})
  File "<string>", line 2, in <module>
  File "C:\Users\vstinner\AppData\Local\Temp\tmpeeb0h5ra\t4.py", line 1, in <module>
RuntimeError: Shouldnt load t4.py

======================================================================
FAIL: test_7 (test.test_pkg.TestPkg)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_pkg.py", line 260, in test_7
    '__name__', '__package__', '__path__', '__spec__'])
AssertionError: Lists differ: ['__c[34 chars]__loader__', '__name__', '__package__', '__spec__'] != ['__c[34 chars]__loader__', '__name__', '__package__', '__path__', '__spec__']

First differing element 6:
'__spec__'
'__path__'

Second list contains 1 additional elements.
First extra element 7:
'__spec__'

['__cached__',
'__doc__',
'__file__',
'__loader__',
'__name__',
'__package__',
+ '__path__',
'__spec__']

----------------------------------------------------------------------
Ran 8 tests in 0.156s

FAILED (failures=1, errors=1)
test test_pkg failed
test_pkg failed

1 test failed:
test_pkg

Total duration: 187 ms
Tests result: FAILURE

== test_tools ==

C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -m test -v test_tools -m test_sundry
== CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: C:\Users\vstinner\AppData\Local\Temp\test_python_7472
== CPU count: 2
== encodings: locale=cp1252, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_tools
test_analyze_dxp_import (test.test_tools.test_sundry.TestSundryScripts) ... ok
test_sundry (test.test_tools.test_sundry.TestSundryScripts) ... Usage: 2to3 [options] file|dir ...

__main__.py: error: no such option: -m
ERROR
test_sundry_windows (test.test_tools.test_sundry.TestSundryScripts) ... ok

======================================================================
ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1387, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1431, in _process_args
    self._process_short_opts(rargs, values)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1513, in _process_short_opts
    raise BadOptionError(opt)
optparse.BadOptionError: no such option: -m

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_tools\test_sundry.py", line 36, in test_sundry
    import_tool(name)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\test\test_tools\__init__.py", line 21, in import_tool
    return importlib.import_module(toolname)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\Tools\scripts\2to3.py", line 5, in <module>
    sys.exit(main("lib2to3.fixes"))
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\lib2to3\main.py", line 179, in main
    options, args = parser.parse_args(args)
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1389, in parse_args
    self.error(str(err))
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1569, in error
    self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
  File "C:\Users\vstinner\AppData\Local\Programs\Python\Python37\lib\optparse.py", line 1559, in exit
    sys.exit(status)
SystemExit: 2

Ran 3 tests in 0.031s

FAILED (errors=1)
test test_tools failed
test_tools failed

1 test failed:
test_tools

Total duration: 78 ms
Tests result: FAILURE

@vstinner vstinner added 3.7 (EOL) end of life tests Tests in the Lib/test dir labels May 31, 2018
@vstinner
Copy link
Member Author

test_marshal.test_loads_2x_code(): Windows fatal exception: stack overflow

I created bpo-33720: "test_marshal: crash in Python 3.7b5 on Windows 10".

@terryjreedy
Copy link
Member

I ran py -3.7 -m test -j11 -uall
I saw test_marshal fail with fatal exception.
I saw test_tools and test_site fail as below.

C:\Users\Terry>py -3.7 -X utf8 -m test test_pkg
0:00:00 [1/1] test_pkg
1 test OK.

test_tools failed -- running: test_io (103 sec), test_largefile (100 sec), test_multiprocessing_spawn (88 sec), test_mmap (91 sec), test_tokenize (43 sec)
Usage: 2to3 [options] file|dir ...

regrtest.py: error: no such option: --slaveargs
test test_tools failed -- Traceback (most recent call last):
  File "C:\Programs\Python37\lib\optparse.py", line 1387, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "C:\Programs\Python37\lib\optparse.py", line 1427, in _process_args
    self._process_long_opt(rargs, values)
  File "C:\Programs\Python37\lib\optparse.py", line 1480, in _process_long_opt
    opt = self._match_long_opt(opt)
  File "C:\Programs\Python37\lib\optparse.py", line 1465, in _match_long_opt
    return _match_abbrev(opt, self._long_opt)
  File "C:\Programs\Python37\lib\optparse.py", line 1670, in _match_abbrev
    raise BadOptionError(s)
optparse.BadOptionError: no such option: --slaveargs

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Programs\Python37\lib\test\test_tools\test_sundry.py", line 36, in test_sundry
    import_tool(name)
  File "C:\Programs\Python37\lib\test\test_tools\__init__.py", line 21, in import_tool
    return importlib.import_module(toolname)
  File "C:\Programs\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Programs\Python37\Tools\scripts\2to3.py", line 5, in <module>
    sys.exit(main("lib2to3.fixes"))
  File "C:\Programs\Python37\lib\lib2to3\main.py", line 179, in main
    options, args = parser.parse_args(args)
  File "C:\Programs\Python37\lib\optparse.py", line 1389, in parse_args
    self.error(str(err))
  File "C:\Programs\Python37\lib\optparse.py", line 1569, in error
    self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
  File "C:\Programs\Python37\lib\optparse.py", line 1559, in exit
    sys.exit(status)
SystemExit: 2



test test_site failed -- Traceback (most recent call last):
  File "C:\Programs\Python37\lib\test\test_site.py", line 487, in test_startup_imports
    self.assertFalse(modules.intersection(collection_mods), stderr)
AssertionError: {'heapq', 'types', 'functools', 'keyword', 'operator', 'reprlib', 'collections'} is not false : import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
# installing zipimport hook
import 'zipimport' # <class '_frozen_importlib.BuiltinImporter'>
# installed zipimport hook
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'nt' # <class '_frozen_importlib.BuiltinImporter'>
import _thread # previously loaded ('_thread')
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import _weakref # previously loaded ('_weakref')
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import 'winreg' # <class '_frozen_importlib.BuiltinImporter'>
# C:\Programs\Python37\lib\encodings\__pycache__\__init__.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\__init__.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\__init__.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\codecs.cpython-37.pyc matches C:\Programs\Python37\lib\codecs.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\codecs.cpython-37.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCB943C8>
# C:\Programs\Python37\lib\encodings\__pycache__\aliases.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\aliases.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\aliases.cpython-37.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBA9EF0>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCB88710>
# C:\Programs\Python37\lib\encodings\__pycache__\utf_8.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\utf_8.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\utf_8.cpython-37.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBBF98>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
# C:\Programs\Python37\lib\encodings\__pycache__\latin_1.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\latin_1.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\latin_1.cpython-37.pyc'
import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBD400>
# C:\Programs\Python37\lib\__pycache__\io.cpython-37.pyc matches C:\Programs\Python37\lib\io.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\io.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\abc.cpython-37.pyc matches C:\Programs\Python37\lib\abc.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\abc.cpython-37.pyc'
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBD9B0>
import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBD5F8>
# C:\Programs\Python37\lib\__pycache__\_bootlocale.cpython-37.pyc matches C:\Programs\Python37\lib\_bootlocale.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\_bootlocale.cpython-37.pyc'
import '_locale' # <class '_frozen_importlib.BuiltinImporter'>
import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBBDF98>
# C:\Programs\Python37\lib\encodings\__pycache__\cp1252.cpython-37.pyc matches C:\Programs\Python37\lib\encodings\cp1252.py
# code object from 'C:\\Programs\\Python37\\lib\\encodings\\__pycache__\\cp1252.cpython-37.pyc'
import 'encodings.cp1252' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBC4828>
Python 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
# C:\Programs\Python37\lib\__pycache__\site.cpython-37.pyc matches C:\Programs\Python37\lib\site.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\site.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\os.cpython-37.pyc matches C:\Programs\Python37\lib\os.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\os.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\stat.cpython-37.pyc matches C:\Programs\Python37\lib\stat.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\stat.cpython-37.pyc'
import '_stat' # <class '_frozen_importlib.BuiltinImporter'>
import 'stat' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBDF390>
# C:\Programs\Python37\lib\__pycache__\ntpath.cpython-37.pyc matches C:\Programs\Python37\lib\ntpath.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\ntpath.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\genericpath.cpython-37.pyc matches C:\Programs\Python37\lib\genericpath.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\genericpath.cpython-37.pyc'
import 'genericpath' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBEE2B0>
import 'ntpath' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBDFA20>
# C:\Programs\Python37\lib\__pycache__\_collections_abc.cpython-37.pyc matches C:\Programs\Python37\lib\_collections_abc.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\_collections_abc.cpython-37.pyc'
import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBEE860>
import 'os' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBCEF60>
# C:\Programs\Python37\lib\__pycache__\_sitebuiltins.cpython-37.pyc matches C:\Programs\Python37\lib\_sitebuiltins.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\_sitebuiltins.cpython-37.pyc'
import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBD3320>
# C:\Programs\Python37\lib\__pycache__\types.cpython-37.pyc matches C:\Programs\Python37\lib\types.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\types.cpython-37.pyc'
import 'types' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBD9748>
# C:\Programs\Python37\lib\importlib\__pycache__\__init__.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\__init__.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\__init__.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\warnings.cpython-37.pyc matches C:\Programs\Python37\lib\warnings.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\warnings.cpython-37.pyc'
import 'warnings' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE9493C8>
import 'importlib' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCC0EF98>
# C:\Programs\Python37\lib\importlib\__pycache__\util.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\util.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\util.cpython-37.pyc'
# C:\Programs\Python37\lib\importlib\__pycache__\abc.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\abc.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\abc.cpython-37.pyc'
# C:\Programs\Python37\lib\importlib\__pycache__\machinery.cpython-37.pyc matches C:\Programs\Python37\lib\importlib\machinery.py
# code object from 'C:\\Programs\\Python37\\lib\\importlib\\__pycache__\\machinery.cpython-37.pyc'
import 'importlib.machinery' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE953F98>
import 'importlib.abc' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE953748>
# C:\Programs\Python37\lib\__pycache__\contextlib.cpython-37.pyc matches C:\Programs\Python37\lib\contextlib.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\contextlib.cpython-37.pyc'
# C:\Programs\Python37\lib\collections\__pycache__\__init__.cpython-37.pyc matches C:\Programs\Python37\lib\collections\__init__.py
# code object from 'C:\\Programs\\Python37\\lib\\collections\\__pycache__\\__init__.cpython-37.pyc'
# C:\Programs\Python37\lib\__pycache__\operator.cpython-37.pyc matches C:\Programs\Python37\lib\operator.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\operator.cpython-37.pyc'
import '_operator' # <class '_frozen_importlib.BuiltinImporter'>
import 'operator' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA8E550>
# C:\Programs\Python37\lib\__pycache__\keyword.cpython-37.pyc matches C:\Programs\Python37\lib\keyword.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\keyword.cpython-37.pyc'
import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA97748>
# C:\Programs\Python37\lib\__pycache__\heapq.cpython-37.pyc matches C:\Programs\Python37\lib\heapq.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\heapq.cpython-37.pyc'
import '_heapq' # <class '_frozen_importlib.BuiltinImporter'>
import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA9A128>
import 'itertools' # <class '_frozen_importlib.BuiltinImporter'>
# C:\Programs\Python37\lib\__pycache__\reprlib.cpython-37.pyc matches C:\Programs\Python37\lib\reprlib.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\reprlib.cpython-37.pyc'
import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BEA9A710>
import '_collections' # <class '_frozen_importlib.BuiltinImporter'>
import 'collections' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE96C780>
# C:\Programs\Python37\lib\__pycache__\functools.cpython-37.pyc matches C:\Programs\Python37\lib\functools.py
# code object from 'C:\\Programs\\Python37\\lib\\__pycache__\\functools.cpython-37.pyc'
import '_functools' # <class '_frozen_importlib.BuiltinImporter'>
import 'functools' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE96CB70>
import 'contextlib' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE953DD8>
import 'importlib.util' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BE949780>
# possible namespace for C:\Programs\Python37\lib\site-packages\sphinxcontrib
import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0x00000252BCBC4B70>
# cleanup[3] wiping _codecs
# cleanup[3] wiping encodings.aliases
# cleanup[3] wiping encodings.utf_8
# cleanup[3] wiping encodings.latin_1
# cleanup[3] wiping encodings.cp1252
# cleanup[3] wiping importlib._bootstrap
# cleanup[3] wiping sys
# clear builtins._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.__interactivehook__
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup[2] removing sys
# cleanup[2] removing builtins
# cleanup[2] removing _frozen_importlib
# cleanup[2] removing _imp
# cleanup[2] removing _thread
# cleanup[2] removing _warnings
# cleanup[2] removing _weakref
# cleanup[2] removing zipimport
# cleanup[2] removing _frozen_importlib_external
# cleanup[2] removing _io
# cleanup[2] removing marshal
# cleanup[2] removing nt
# cleanup[2] removing winreg
# cleanup[2] removing encodings
# destroy encodings
# cleanup[2] removing codecs
# cleanup[2] removing _codecs
# cleanup[2] removing encodings.aliases
# cleanup[2] removing encodings.utf_8
# cleanup[2] removing _signal
# cleanup[2] removing __main__
# destroy __main__
# cleanup[2] removing encodings.latin_1
# cleanup[2] removing io
# destroy io
# cleanup[2] removing abc
# cleanup[2] removing _abc
# cleanup[2] removing _bootlocale
# destroy _bootlocale
# cleanup[2] removing _locale
# cleanup[2] removing encodings.cp1252
# cleanup[2] removing site
# destroy site
# cleanup[2] removing os
# cleanup[2] removing stat
# cleanup[2] removing _stat
# cleanup[2] removing ntpath
# cleanup[2] removing genericpath
# cleanup[2] removing os.path
# cleanup[2] removing _collections_abc
# cleanup[2] removing _sitebuiltins
# cleanup[2] removing types
# cleanup[2] removing importlib
# destroy importlib
# cleanup[2] removing importlib._bootstrap
# cleanup[2] removing importlib._bootstrap_external
# cleanup[2] removing warnings
# cleanup[2] removing importlib.util
# cleanup[2] removing importlib.abc
# cleanup[2] removing importlib.machinery
# cleanup[2] removing contextlib
# destroy contextlib
# cleanup[2] removing collections
# destroy collections
# cleanup[2] removing operator
# destroy operator
# cleanup[2] removing _operator
# cleanup[2] removing keyword
# destroy keyword
# cleanup[2] removing heapq
# cleanup[2] removing _heapq
# cleanup[2] removing itertools
# cleanup[2] removing reprlib
# destroy reprlib
# cleanup[2] removing _collections
# cleanup[2] removing functools
# cleanup[2] removing _functools
# cleanup[2] removing sphinxcontrib
# destroy sphinxcontrib
# destroy zipimport
# destroy _signal
# destroy _locale
# destroy _sitebuiltins
# destroy ntpath
# destroy _stat
# destroy genericpath
# destroy os
# destroy stat
# destroy importlib.util
# destroy importlib.abc
# destroy functools
# destroy types
# destroy importlib.machinery
# destroy warnings
# destroy abc
# destroy _collections_abc
# destroy heapq
# destroy _abc
# destroy _functools
# destroy _operator
# destroy _heapq
# destroy itertools
# destroy _collections
# cleanup[3] wiping _frozen_importlib
# destroy _frozen_importlib_external
# cleanup[3] wiping _imp
# cleanup[3] wiping _thread
# cleanup[3] wiping _warnings
# cleanup[3] wiping _weakref
# cleanup[3] wiping _io
# cleanup[3] wiping marshal
# cleanup[3] wiping nt
# cleanup[3] wiping winreg
# cleanup[3] wiping codecs
# cleanup[3] wiping builtins

@vstinner
Copy link
Member Author

test test_tools failed -- Traceback (most recent call last):
   (...)
optparse.BadOptionError: no such option: --slaveargs

Ah, it's a known and old issue: bpo-25094.

@terryjreedy
Copy link
Member

Same test_site and test_tools (bpo-25094) failures on newly installed 3.6.6 and 3.7.0. They pass on repository 3.6,7,8. Was there a fix not pulled into the releases, or are these install dependent?

@terryjreedy terryjreedy added the type-bug An unexpected behavior, bug, or error label Jun 28, 2018
@vstinner
Copy link
Member Author

It seems like all test failures reported in this issue have been fixed or got their own dedicated issue, so I close thie issue.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants