== CPython 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 10:42:45) [GCC 4.9 20140827 (prerelease)] == Linux-3.4.67+-i686-with-libc little-endian == hash algorithm: fnv 32bit == /data/local/tmp/test_python_2221 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0) Run tests sequentially 0:00:00 [1/1] test_site test_addpackage (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_exec (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_pth_file (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_syntax (test.test_site.HelperFunctionsTests) ... ok test_addsitedir (test.test_site.HelperFunctionsTests) ... ok test_getsitepackages (test.test_site.HelperFunctionsTests) ... ok test_getuserbase (test.test_site.HelperFunctionsTests) ... ok test_getusersitepackages (test.test_site.HelperFunctionsTests) ... ok test_init_pathinfo (test.test_site.HelperFunctionsTests) ... ok test_makepath (test.test_site.HelperFunctionsTests) ... ok test_s_option (test.test_site.HelperFunctionsTests) ... ok test_abs_paths (test.test_site.ImportSideEffectTests) ... ok test_add_build_dir (test.test_site.ImportSideEffectTests) ... skipped 'test not implemented' test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok test_license_exists_at_url (test.test_site.ImportSideEffectTests) ... skipped "resource 'network' is not enabled" test_no_duplicate_paths (test.test_site.ImportSideEffectTests) ... ok test_setting_copyright (test.test_site.ImportSideEffectTests) ... ok test_setting_help (test.test_site.ImportSideEffectTests) ... ok test_setting_quit (test.test_site.ImportSideEffectTests) ... ok test_sitecustomize_executed (test.test_site.ImportSideEffectTests) ... ok test_startup_imports (test.test_site.StartupImportTests) ... FAIL ====================================================================== FAIL: test_startup_imports (test.test_site.StartupImportTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_site.py", line 462, in test_startup_imports self.assertFalse(modules.intersection(re_mods), stderr) AssertionError: {'sre_constants', 'sre_parse', 'sre_compile', '_sre', 're'} is not false : import _frozen_importlib # frozen import _imp # builtin import sys # builtin import '_warnings' # import '_thread' # import '_weakref' # import '_frozen_importlib_external' # import '_io' # import 'marshal' # import 'posix' # import _thread # previously loaded ('_thread') import '_thread' # import _weakref # previously loaded ('_weakref') import '_weakref' # # installing zipimport hook import 'zipimport' # # installed zipimport hook # /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/__init__.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__init__.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/__init__.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/codecs.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/codecs.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/codecs.cpython-36.pyc' import '_codecs' # import 'codecs' # <_frozen_importlib_external.SourceFileLoader object at 0xb704c36c> # /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/aliases.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/aliases.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/aliases.cpython-36.pyc' import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0xb7057a4c> import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0xb7042f6c> # /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/utf_8.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/utf_8.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/utf_8.cpython-36.pyc' import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0xb70615cc> import '_signal' # # /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/latin_1.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/latin_1.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/latin_1.cpython-36.pyc' import 'encodings.latin_1' # <_frozen_importlib_external.SourceFileLoader object at 0xb7061dac> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/io.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/io.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/io.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/abc.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/abc.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/abc.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_weakrefset.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/_weakrefset.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_weakrefset.cpython-36.pyc' import '_weakrefset' # <_frozen_importlib_external.SourceFileLoader object at 0xb70679ec> import 'abc' # <_frozen_importlib_external.SourceFileLoader object at 0xb706734c> import 'io' # <_frozen_importlib_external.SourceFileLoader object at 0xb706712c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_bootlocale.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/_bootlocale.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_bootlocale.cpython-36.pyc' import '_locale' # import '_bootlocale' # <_frozen_importlib_external.SourceFileLoader object at 0xb707236c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/locale.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/locale.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/locale.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/re.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/re.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/re.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sre_compile.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/sre_compile.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sre_compile.cpython-36.pyc' import '_sre' # # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sre_parse.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/sre_parse.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sre_parse.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sre_constants.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/sre_constants.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sre_constants.cpython-36.pyc' import 'sre_constants' # <_frozen_importlib_external.SourceFileLoader object at 0xb70146ac> import 'sre_parse' # <_frozen_importlib_external.SourceFileLoader object at 0xb700f32c> import 'sre_compile' # <_frozen_importlib_external.SourceFileLoader object at 0xb700a38c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/copyreg.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/copyreg.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/copyreg.cpython-36.pyc' import 'copyreg' # <_frozen_importlib_external.SourceFileLoader object at 0xb701ba4c> import 're' # <_frozen_importlib_external.SourceFileLoader object at 0xb700580c> # /sdcard/org.bitbucket.pyona/lib/python3.6/collections/__pycache__/__init__.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/collections/__init__.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/collections/__pycache__/__init__.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_collections_abc.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/_collections_abc.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_collections_abc.cpython-36.pyc' import '_collections_abc' # <_frozen_importlib_external.SourceFileLoader object at 0xb702cbac> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/operator.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/operator.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/operator.cpython-36.pyc' import '_operator' # import 'operator' # <_frozen_importlib_external.SourceFileLoader object at 0xb70324ec> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/keyword.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/keyword.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/keyword.cpython-36.pyc' import 'keyword' # <_frozen_importlib_external.SourceFileLoader object at 0xb6eceb8c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/heapq.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/heapq.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/heapq.cpython-36.pyc' # extension module '_heapq' loaded from '/data/local/tmp/python/lib/python3.6/lib-dynload/_heapq.cpython-36m-i386-linux-gnu.so' # extension module '_heapq' executed from '/data/local/tmp/python/lib/python3.6/lib-dynload/_heapq.cpython-36m-i386-linux-gnu.so' import '_heapq' # <_frozen_importlib_external.ExtensionFileLoader object at 0xb6ed4d8c> import 'heapq' # <_frozen_importlib_external.SourceFileLoader object at 0xb6ed40ec> import 'itertools' # # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/reprlib.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/reprlib.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/reprlib.cpython-36.pyc' import 'reprlib' # <_frozen_importlib_external.SourceFileLoader object at 0xb703d68c> import '_collections' # import 'collections' # <_frozen_importlib_external.SourceFileLoader object at 0xb701bdec> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/functools.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/functools.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/functools.cpython-36.pyc' import '_functools' # # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/types.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/types.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/types.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/collections/__pycache__/abc.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/collections/abc.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/collections/__pycache__/abc.cpython-36.pyc' import 'collections.abc' # <_frozen_importlib_external.SourceFileLoader object at 0xb6eee2ac> import 'types' # <_frozen_importlib_external.SourceFileLoader object at 0xb6eeb54c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/weakref.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/weakref.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/weakref.cpython-36.pyc' import 'weakref' # <_frozen_importlib_external.SourceFileLoader object at 0xb6eeb60c> import 'functools' # <_frozen_importlib_external.SourceFileLoader object at 0xb6edff8c> import 'locale' # <_frozen_importlib_external.SourceFileLoader object at 0xb70724ac> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/os.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/os.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/os.cpython-36.pyc' import 'errno' # # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/stat.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/stat.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/stat.cpython-36.pyc' import '_stat' # import 'stat' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e85c8c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/posixpath.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/posixpath.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/posixpath.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/genericpath.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/genericpath.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/genericpath.cpython-36.pyc' import 'genericpath' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e88bcc> import 'posixpath' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e8802c> import 'os' # <_frozen_importlib_external.SourceFileLoader object at 0xb6ee806c> # /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/ascii.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/encodings/ascii.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/encodings/__pycache__/ascii.cpython-36.pyc' import 'encodings.ascii' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e7a04c> Python 3.6.0a0 (default:f4c6dab59cd8+, May 3 2016, 10:42:45) [GCC 4.9 20140827 (prerelease)] on linux Type "help", "copyright", "credits" or "license" for more information. # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/site.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/site.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/site.cpython-36.pyc' # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_sitebuiltins.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/_sitebuiltins.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_sitebuiltins.cpython-36.pyc' import '_sitebuiltins' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e94c0c> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sysconfig.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/sysconfig.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/sysconfig.cpython-36.pyc' import 'sysconfig' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e9e8ac> # /sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_sysconfigdata.cpython-36.pyc matches /sdcard/org.bitbucket.pyona/lib/python3.6/_sysconfigdata.py # code object from '/sdcard/org.bitbucket.pyona/lib/python3.6/__pycache__/_sysconfigdata.cpython-36.pyc' import '_sysconfigdata' # <_frozen_importlib_external.SourceFileLoader object at 0xb6ea688c> import 'site' # <_frozen_importlib_external.SourceFileLoader object at 0xb6e9436c> # 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 io # destroy io # cleanup[2] removing _thread # cleanup[2] removing genericpath # cleanup[2] removing _weakref # cleanup[2] removing encodings.latin_1 # cleanup[2] removing re # cleanup[2] removing _sysconfigdata # destroy _sysconfigdata # cleanup[2] removing zipimport # cleanup[2] removing os # cleanup[2] removing _sre # cleanup[2] removing builtins # cleanup[2] removing errno # cleanup[2] removing site # destroy site # cleanup[2] removing collections # cleanup[2] removing _codecs # cleanup[2] removing types # destroy types # cleanup[2] removing os.path # cleanup[2] removing _io # cleanup[2] removing sysconfig # destroy sysconfig # cleanup[2] removing posix # cleanup[2] removing _collections # cleanup[2] removing collections.abc # cleanup[2] removing sre_parse # cleanup[2] removing _imp # cleanup[2] removing stat # cleanup[2] removing sre_compile # cleanup[2] removing abc # destroy abc # cleanup[2] removing posixpath # cleanup[2] removing _operator # cleanup[2] removing _sitebuiltins # cleanup[2] removing _heapq # cleanup[2] removing operator # destroy operator # cleanup[2] removing _locale # cleanup[2] removing weakref # destroy weakref # cleanup[2] removing sre_constants # destroy sre_constants # cleanup[2] removing _frozen_importlib_external # cleanup[2] removing functools # cleanup[2] removing encodings.aliases # cleanup[2] removing encodings # cleanup[2] removing encodings.ascii # cleanup[2] removing _functools # cleanup[2] removing heapq # cleanup[2] removing encodings.utf_8 # cleanup[2] removing _frozen_importlib # cleanup[2] removing _stat # cleanup[2] removing _collections_abc # cleanup[2] removing _weakrefset # destroy _weakrefset # cleanup[2] removing sys # cleanup[2] removing _signal # cleanup[2] removing itertools # cleanup[2] removing __main__ # destroy __main__ # cleanup[2] removing reprlib # destroy reprlib # cleanup[2] removing codecs # cleanup[2] removing marshal # cleanup[2] removing _warnings # cleanup[2] removing keyword # destroy keyword # cleanup[2] removing locale # destroy locale # cleanup[2] removing _bootlocale # destroy _bootlocale # cleanup[2] removing copyreg # destroy zipimport # destroy _signal # destroy re # destroy encodings # destroy sre_compile # destroy _locale # destroy copyreg # destroy sre_parse # destroy _sre # destroy heapq # destroy _collections_abc # destroy _operator # destroy _heapq # destroy _collections # destroy _functools # destroy functools # destroy collections.abc # destroy collections # destroy itertools # destroy errno # destroy posixpath # destroy _stat # destroy genericpath # destroy stat # destroy os # destroy _sitebuiltins # cleanup[3] wiping _thread # cleanup[3] wiping _weakref # cleanup[3] wiping encodings.latin_1 # cleanup[3] wiping _codecs # cleanup[3] wiping _io # cleanup[3] wiping posix # cleanup[3] wiping _imp # cleanup[3] wiping _frozen_importlib_external # destroy io # destroy posix # cleanup[3] wiping encodings.aliases # cleanup[3] wiping encodings.ascii # cleanup[3] wiping encodings.utf_8 # cleanup[3] wiping _frozen_importlib # destroy _frozen_importlib_external # destroy _thread # destroy _weakref # destroy _imp # cleanup[3] wiping codecs # cleanup[3] wiping marshal # destroy marshal # cleanup[3] wiping _warnings # destroy _warnings # cleanup[3] wiping sys # cleanup[3] wiping builtins # destroy _frozen_importlib test test_site failed ---------------------------------------------------------------------- Ran 21 tests in 0.257s FAILED (failures=1, skipped=2) 1 test failed: test_site Total duration: 0:00:01