[New-bugs-announce] [issue33465] test_from_import_missing_attr_has_name_and_so_path fails when select is a builtin instead of an extension

Matthias Klose report at bugs.python.org
Fri May 11 12:07:04 EDT 2018


New submission from Matthias Klose <doko at debian.org>:

======================================================================
ERROR: test_from_import_missing_attr_has_name_and_so_path (test.test_import.ImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.7/test/test_import/__init__.py", line 98, in test_from_import_missing_attr_has_name_and_so_path
    self.assertEqual(cm.exception.path, select.__file__)
AttributeError: module 'select' has no attribute '__file__'

----------------------------------------------------------------------
Ran 75 tests in 0.618s

FAILED (errors=1, skipped=1)
test test_import failed

----------
components: Tests
messages: 316403
nosy: brett.cannon, doko, eric.snow, ncoghlan
priority: normal
severity: normal
status: open
title: test_from_import_missing_attr_has_name_and_so_path fails when select is a builtin instead of an extension
type: behavior
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33465>
_______________________________________


More information about the New-bugs-announce mailing list