New submission from doodspav :
Issue:
==
`_lzma` is not built because the required libraries are not available on my
machine. `test_zoneinfo` assumes it is always available, leading it to crash on
my machine.
How I build and ran the tests:
==
git clone https://github.com/python/cpython.git (bpo-41364)
cd cpython
mkdir build && cd build
../configure
make -j8
make test > test_output.txt
Test traceback:
===
File
"/home/doodspav/Jetbrains/CLionProjects/cpython/Lib/test/libregrtest/runtest.py",
line 272, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
File
"/home/doodspav/Jetbrains/CLionProjects/cpython/Lib/test/libregrtest/runtest.py",
line 223, in _runtest_inner2
the_module = importlib.import_module(abstest)
File
"/home/doodspav/Jetbrains/CLionProjects/cpython/Lib/importlib/__init__.py",
line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File
"/home/doodspav/Jetbrains/CLionProjects/cpython/Lib/test/test_zoneinfo/__init__.py",
line 1, in
from .test_zoneinfo import *
File
"/home/doodspav/Jetbrains/CLionProjects/cpython/Lib/test/test_zoneinfo/test_zoneinfo.py",
line 9, in
import lzma
File "/home/doodspav/Jetbrains/CLionProjects/cpython/Lib/lzma.py", line 27,
in
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
--
components: Tests
files: test_output.txt
messages: 374106
nosy: doodspav
priority: normal
severity: normal
status: open
title: test_zoneinfo fails
type: crash
versions: Python 3.10
Added file: https://bugs.python.org/file49332/test_output.txt
___
Python tracker
<https://bugs.python.org/issue41371>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com