Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly fix @monkeypatch by changing its contract. Actually closes #104047logilab-common-version-0.59.0 | Sylvain Th?nault | 2013-01-21 | 1 | -15/+17 |
| | | | | | This follows 8d13747da834 and f8fb4a6d9249 which should not have been commited before this cleanup. | ||||
* | [merge] default is stable | Aurelien Campeas | 2013-01-21 | 4 | -6/+90 |
|\ | |||||
| * | [registry] introduce RegistrableObject and RegistrableInstance base classes. ↵ | Sylvain Th?nault | 2013-01-14 | 3 | -2/+72 |
| | | | | | | | | | | | | | | | | | | | | Closes #98742 and make them mandatory *for automatic registration*. Cleanup automatic registration code accordingly. Instances are now registrable, and automatically registered provided they inherit from RegistrableInstance. | ||||
| * | [test, deprecation] update tests so we actually test something | Sylvain Th?nault | 2012-11-30 | 1 | -4/+18 |
| | | |||||
* | | py3k cached wip | Sylvain Th?nault | 2012-10-23 | 1 | -13/+13 |
| | | |||||
* | | [py3k @cached] fix compat of dark corners for the @monkeypatch decorator, ↵ | Sylvain Th?nault | 2012-10-23 | 1 | -2/+10 |
|/ | | | | making tests pass. Closes #104047 | ||||
* | [decorators test] use assertIsInstance as expected | Sylvain Th?nault | 2012-10-23 | 1 | -2/+2 |
| | |||||
* | python3: fix code and test so most tests go green. Partially closes #104047 | Sylvain Th?nault | 2012-10-23 | 4 | -8/+13 |
| | | | | | the only failing test concerns the @monkeypatch decorator and fix is subject to controversy, so post-pone it so we may discuss about it. | ||||
* | [shellutils] fix tests broken because progress bars now use '=' not '.' | Nicolas Chauvat | 2012-10-09 | 1 | -3/+3 |
| | |||||
* | don't test unittest2 itself... | Sylvain Th?nault | 2012-08-29 | 1 | -31/+0 |
| | |||||
* | silent unittest2 warnings | Sylvain Th?nault | 2012-08-29 | 10 | -56/+59 |
| | |||||
* | [tests] remove useless skipped testlogilab-common-version-0.58.2 | David Douard | 2012-07-30 | 1 | -4/+0 |
| | |||||
* | [modutils] fix load_module_from_path (closes #100935) | Aurelien Campeas | 2012-07-30 | 3 | -0/+18 |
| | | | | | | | | | | | | | 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. | ||||
* | backport stable | Sylvain Th?nault | 2012-03-15 | 1 | -3/+8 |
|\ | |||||
| * | Fix bug in textutils.apply_units, raise an Exception if string does not ↵ | Damien Garaud | 2012-02-20 | 1 | -3/+8 |
| | | | | | | | | | | | | match (closes #88808). Update the dedicated unit test. | ||||
* | | [shellutil] add argument to ``ProgressBar.update`` to tune cursor ↵ | Alain Leufroy | 2012-03-15 | 1 | -0/+24 |
| | | | | | | | | progression (closes #88981) | ||||
* | | backported cubicweb's registry. Closes #84654 | Sylvain Th?nault | 2012-01-12 | 1 | -0/+163 |
|/ | |||||
* | [decorators] provide a @cachedproperty decorator | Adrien Di Mascio | 2011-10-10 | 1 | -1/+37 |
| | |||||
* | [decorators] monkeypatch should build a method type closes #73920 | Aurelien Campeas | 2011-09-06 | 1 | -0/+34 |
| | |||||
* | decorators: test and fix copy_cache, bug introduced in 1411:2f974a847d7e | Sylvain Th?nault | 2011-05-03 | 1 | -1/+13 |
| | |||||
* | test and fix clear_cache to work on cached **properties**. remove debug print | Sylvain Th?nault | 2011-04-11 | 1 | -0/+13 |
| | |||||
* | decorators: refactored @cached to allow usages such as ↵ | Sylvain Th?nault | 2011-04-08 | 1 | -1/+37 |
| | | | | @cached(cacheattr='_cachename') while keeping bw compat | ||||
* | [packaging] prepare 0.55.1logilab-common-version-0.55.1 | Nicolas Chauvat | 2011-03-28 | 23 | -23/+23 |
| | |||||
* | [dates] provide a somewhat reasonable workaround for ticks2datetime where ↵ | Adrien Di Mascio | 2011-03-28 | 1 | -2/+9 |
| | | | | year < 1900 | ||||
* | [textutils] fix unormalize implementation | Adrien Di Mascio | 2011-03-02 | 1 | -2/+10 |
| | | | | | | | | Give a chance to NFKD decomposition even if ord(c) > 2**8, this will work with a few more cases. add a substitute optional parameter to provide a replacement char if decomposition fails | ||||
* | fix the ordered_nodes fix by reverting to previous order | Nicolas Chauvat | 2011-02-09 | 1 | -4/+7 |
| | |||||
* | graph: fix and test ordered_nodes() [closes #60288] | Nicolas Chauvat | 2011-01-31 | 1 | -1/+37 |
| | |||||
* | 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 | ||||
* | stop testing a deprecated behaviour | Sylvain Th?nault | 2011-01-06 | 1 | -5/+0 |
| | |||||
* | [tests] use plain package file (no symlink) | Julien Jehannet | 2011-01-05 | 4 | -4/+2 |
| | | | | Create a clean zipped mypypa package (without EGG-INFO) | ||||
* | [testlib] do not stop generative test if exception occured | Julien Jehannet | 2010-11-29 | 1 | -2/+2 |
| | |||||
* | [testlib] manage SkipTest exception in __call__ statement (as unittest2 does) | Julien Jehannet | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | py3k: replace "file(path)" with "open(path)" | Emile Anclin | 2010-12-06 | 1 | -5/+5 |
| | |||||
* | cleanup: remove more deprecated stuff | Emile Anclin | 2010-12-06 | 1 | -30/+0 |
| | | | | | remove OutErrCaptureTC and captured_output more explicit deprecated warning for special assert methods | ||||
* | cleanup: rename deprecated test methods | Emile Anclin | 2010-12-06 | 1 | -56/+36 |
| | |||||
* | cleanup: remove DFCapture | Emile Anclin | 2010-12-06 | 1 | -72/+3 |
| | |||||
* | cleanup: remove deprecated norm_read | Emile Anclin | 2010-12-06 | 1 | -1/+1 |
| | |||||
* | [decorators] prevent caching of decorator functions | Aurelien Campeas | 2010-11-30 | 1 | -0/+5 |
| | |||||
* | [decorators] cached try to keep the original function name | Aurelien Campeas | 2010-11-26 | 1 | -1/+4 |
| | |||||
* | [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 |
| | |||||
* | cleanup: remove deprecated compat imports | Emile Anclin | 2010-11-22 | 2 | -3/+0 |
| | |||||
* | fix tests | Emile Anclin | 2010-11-22 | 2 | -111/+0 |
| | |||||
* | cleanup: remove deprecated modules | Emile Anclin | 2010-11-22 | 1 | -76/+0 |
| | |||||
* | [testlib] isolation of pytest related code into pytest.py | Julien Jehannet | 2010-11-16 | 1 | -26/+14 |
| | |||||
* | cleanup: remove strange ghost files | Emile Anclin | 2010-11-16 | 2 | -33/+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 | 13 | -127/+127 |
| |