Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [test] Fix modutils tests when running inside a python 3 virtualenv (closes ↵ | Rémi Cardona | 2015-06-29 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | #294756) Virtualenv symlinks a bunch of stdlib modules which confuse modutils.is_standard_module. The better way would obviously be to fix modutils to properly detect virtualenvs, but life is too short. As for why virtualenv actually needs to symlink a good chunk of the stdlib, anyone's guess is as good as mine. Here's the upstream commit that added hashlib.py to the list of needed symlinks: https://github.com/pypa/virtualenv/commit/10ba3f3cc0d7a254dd72e2bb9557006da2f85e00#diff-7e83770aa980bd4327db90f4eafeffdfR126 And for the record, 'venv' (the virtualenv-lookalike shipped since python 3.3) does not do _any_ symlink to stdlib modules. | ||||
* | [test] remove check for python < 2.6 | Rémi Cardona | 2015-06-29 | 1 | -1/+1 |
| | | | | | Unsupported since the very first few commits of the 0.63.0 release (38c568b29cf3 to be precise). | ||||
* | [py3k] explicitly build a list around dict methods | Julien Cristau | 2014-07-27 | 1 | -1/+1 |
| | | | | | When we modify the return value from one of the dict methods, explicitly build a list from it to make things work on python3. Related to #265740. | ||||
* | [modutils test] enhance some test names | Sylvain Th?nault | 2013-05-07 | 1 | -6/+8 |
| | |||||
* | [modutils test] simplify test names and add border cases test for ↵ | Sylvain Th?nault | 2013-04-11 | 1 | -6/+16 |
| | | | | is_standard_module | ||||
* | silent unittest2 warnings | Sylvain Th?nault | 2012-08-29 | 1 | -4/+4 |
| | |||||
* | [modutils] fix load_module_from_path (closes #100935) | Aurelien Campeas | 2012-07-30 | 1 | -0/+10 |
| | | | | | | | | | | | | | A very old bug in modutils, that leads to doubly loading some modules. By chance on Linux (or the platform we typically use) it seems one the two module gets forgoten as soon as loaded. Unfortunately on Windows, with CubicWeb, it was found that the first module instance was the one on which the mro was built and the second one hosted the super(...) call with a different class id for the litteral within super(ThisClass, self).... The exact reason for the dual behaviour is still unknown but it could well be one of those 'platform dependant' bits that riddle Python. | ||||
* | Generalise usage of disutils.sysconfig.get_python_version so eg. ↵ | Sylvain Th?nault | 2012-07-17 | 1 | -15/+12 |
| | | | | | | is_standard_module works for other python impl. like Jython, IronPython (and should works for pypy). Closes #99493 Also add more test for this function. | ||||
* | [packaging] prepare 0.55.1logilab-common-version-0.55.1 | Nicolas Chauvat | 2011-03-28 | 1 | -1/+1 |
| | |||||
* | fix test-interdependency pb in unittest_modutils. Also, stop renaming ↵ | Sylvain Th?nault | 2011-01-10 | 1 | -14/+20 |
| | | | | unittest2.TestCase to replace it by another class, this is counter-intuitive when reading the test: ease understanding with another name for the replacement class | ||||
* | [tests] use plain package file (no symlink) | Julien Jehannet | 2011-01-05 | 1 | -2/+2 |
| | | | | Create a clean zipped mypypa package (without EGG-INFO) | ||||
* | [test] readd test about relative import | Julien Jehannet | 2010-11-23 | 1 | -2/+7 |
| | |||||
* | [test] fix import test about dropped db module | Julien Jehannet | 2010-11-22 | 1 | -2/+2 |
| | |||||
* | fix tests | Emile Anclin | 2010-11-22 | 1 | -1/+0 |
| | |||||
* | [test] fix running of ModuleFileTC tests | Julien Jehannet | 2010-11-15 | 1 | -7/+9 |
| | |||||
* | 2to3 has some more usable fixers | Emile Anclin | 2010-11-15 | 1 | -6/+6 |
| | |||||
* | 2to3: fix a lot of white space after comma | Emile Anclin | 2010-11-15 | 1 | -5/+5 |
| | |||||
* | backport stable into default | Sylvain Th?nault | 2010-09-24 | 1 | -2/+14 |
|\ | |||||
| * | [py3k] fix unittest_modutils for standard modules | Sylvain Th?nault | 2010-09-15 | 1 | -2/+14 |
| | | |||||
* | | [unittest2] make standard import under py3.x (skip unittest2 support from here) | Julien Jehannet | 2010-09-22 | 1 | -5/+5 |
|/ | |||||
* | missing replacement in disclaimer; include COPYING.LESSER in manifest; kill ↵ | Sylvain Th?nault | 2010-04-28 | 1 | -1/+1 |
| | | | | DEPENDS file | ||||
* | propre licensing information (LGPL-2.1). Hope I get it right this time. | Sylvain Th?nault | 2010-04-28 | 1 | -11/+16 |
| | |||||
* | more license updates | Sylvain Th?nault | 2010-04-26 | 1 | -3/+3 |
| | |||||
* | new extrapath argument to modpath_from_file (see function's docstring for ↵ | Sylvain Th?nault | 2009-06-03 | 1 | -33/+38 |
| | | | | explanation) | ||||
* | should not have commited this | sylvain thenault | 2009-03-25 | 1 | -6/+0 |
| | |||||
* | add test for zip/egg module search | sylvain thenault | 2009-03-25 | 1 | -0/+17 |
| | |||||
* | remove common path from test only if present | pierre-yves david | 2008-06-29 | 1 | -2/+5 |
| | |||||
* | correct modutils test | Pierre-Yves David | 2008-06-26 | 1 | -8/+23 |
| | |||||
* | fix test w/ symbolic links environments | Sylvain | 2007-11-26 | 1 | -6/+6 |
| | |||||
* | fix test so that it won't fail if ran from the parent directory | Sylvain | 2007-03-07 | 1 | -8/+8 |
| | |||||
* | fix test to avoid side effect on textutils test when executed by runtests.py | Sylvain | 2006-09-23 | 1 | -9/+8 |
| | |||||
* | use testlib everywhere | Adrien Di Mascio | 2006-07-06 | 1 | -0/+3 |
| | |||||
* | forget the past. | root | 2006-04-26 | 1 | -0/+203 |
forget the past. |