test_python_import.py must test standard libraries too
Bug #1159671 reported by
Jean-Baptiste Lallement
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Upgrade Testing |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Currently the test test_python_
So bugs such as the import below with python2.7 .7.4~rc1-2ubuntu1 evades our testing:
$ python -c "import webbrowser"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
register_
File "/usr/lib/
register(
NameError: global name 'Chrome' is not defined
The test should import all importable modules from sys.path
summary: |
- test_python_import.py should test standard libraries too + test_python_import.py must test standard libraries too |
Changed in auto-upgrade-testing: | |
status: | New → Confirmed |
To post a comment you must log in.
I am seeing this error when running my to-do manager "Nitro".
alan@deep- thought: ~$ /opt/nitro/ bin/nitrotasks bin/nitrotasks" , line 43, in <module> lib/python2. 7/dist- packages/ nitrotasks/ __init_ _.py", line 24, in <module> lib/python2. 7/dist- packages/ nitrotasks/ NitrotasksWindo w.py", line 20, in <module> python2. 7/webbrowser. py", line 505, in <module> X_browsers( ) python2. 7/webbrowser. py", line 489, in register_X_browsers browser, None, Chrome(browser))
Traceback (most recent call last):
File "/opt/nitro/
import nitrotasks
File "/opt/nitro/
from nitrotasks import NitrotasksWindow
File "/opt/nitro/
import webbrowser, os, sys, re, pickle, urllib, urllib2, threading
File "/usr/lib/
register_
File "/usr/lib/
register(
NameError: global name 'Chrome' is not defined