<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid.git/astroid/tests/unittest_regrtest.py, branch fix-python3-tests</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/astroid-git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/'/>
<entry>
<title>Fix pylint warnings over astroid, update the list of disabled messages in pylintrc.</title>
<updated>2015-05-19T20:40:27+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-05-19T20:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=3407b755555f5ee16b72b64d8a844072cf86d021'/>
<id>3407b755555f5ee16b72b64d8a844072cf86d021</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some fixes which enhances the Jython support.</title>
<updated>2015-03-30T18:46:38+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-03-30T18:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=489781ea3eae1e6b169f4ebc35ec0cf7bd3e269b'/>
<id>489781ea3eae1e6b169f4ebc35ec0cf7bd3e269b</id>
<content type='text'>
The fix mostly includes updates to modutils, which is
modified in order to properly lookup paths from live objects,
which ends in $py.class, not pyc as for Python 2,
Closes issue #83.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix mostly includes updates to modutils, which is
modified in order to properly lookup paths from live objects,
which ends in $py.class, not pyc as for Python 2,
Closes issue #83.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing whitespace.</title>
<updated>2015-03-27T11:56:53+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-03-27T11:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=c6960897779e3f757ae40cebd6ad6b4ac3dafafe'/>
<id>c6960897779e3f757ae40cebd6ad6b4ac3dafafe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Filter out YES nodes when creating a temporary class for the with_metaclass hack.</title>
<updated>2015-03-27T11:52:41+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-03-27T11:52:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=d399484b194731c3983440df79663644e94469fb'/>
<id>d399484b194731c3983440df79663644e94469fb</id>
<content type='text'>
Having an YES node in a class bases will lead to a crash with a TypeError
when trying to obtain the ancestors of the given class, because .ancestors()
will try to iterate each inferred node from the bases, thus will try to
iterate over an YES node. This should fix issue #84.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Having an YES node in a class bases will lead to a crash with a TypeError
when trying to obtain the ancestors of the given class, because .ancestors()
will try to iterate each inferred node from the bases, thus will try to
iterate over an YES node. This should fix issue #84.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove all unused variables from the code base.</title>
<updated>2015-01-29T14:53:50+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-01-29T14:53:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=c4846d5ad12ba1e84c09fb97abec3b0fde3589c6'/>
<id>c4846d5ad12ba1e84c09fb97abec3b0fde3589c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix all unused imports in the code base.</title>
<updated>2015-01-29T14:18:37+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-01-29T14:18:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=bcf8335ba863e4bb1f61c6ee7236492437dfef93'/>
<id>bcf8335ba863e4bb1f61c6ee7236492437dfef93</id>
<content type='text'>
Also, this patch adds a new rule in the pylintrc for the CI gate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, this patch adds a new rule in the pylintrc for the CI gate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a crash which occurred when a class was the ancestor</title>
<updated>2015-01-29T14:06:05+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-01-29T14:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=28f46a1d6796b7a7ad02eeb737de4f03aeb02434'/>
<id>28f46a1d6796b7a7ad02eeb737de4f03aeb02434</id>
<content type='text'>
 of itself.

Closes issue #78.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 of itself.

Closes issue #78.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the test's astroid cache problem.</title>
<updated>2015-01-15T13:27:20+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-01-15T13:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=5a08f69cae2301173c362984bf4eb3aeca8e85f8'/>
<id>5a08f69cae2301173c362984bf4eb3aeca8e85f8</id>
<content type='text'>
There were two problems until now:

  * first, the transformed builtin object was deleting during clear_cache,
    leaving the next tests to use the untransformed tests, which yielded
    InferenceErrors.

  * after the first problem was fixed, another problem with CONST_PROXY
    occurred, since it was creating a new builtins object, without
    the builtins transformations applied, which was used for creating
    the const classes. The problem was that even replacing the
    builtins instance in astroid_cache, InferenceErrors occurred,
    because the const classes were already built and they were referencing
    the untransformed builtins. That's why _astroid_bootstrapping
    allows to receive a new builtins object, which is passed
    properly by the tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were two problems until now:

  * first, the transformed builtin object was deleting during clear_cache,
    leaving the next tests to use the untransformed tests, which yielded
    InferenceErrors.

  * after the first problem was fixed, another problem with CONST_PROXY
    occurred, since it was creating a new builtins object, without
    the builtins transformations applied, which was used for creating
    the const classes. The problem was that even replacing the
    builtins instance in astroid_cache, InferenceErrors occurred,
    because the const classes were already built and they were referencing
    the untransformed builtins. That's why _astroid_bootstrapping
    allows to receive a new builtins object, which is passed
    properly by the tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Try to fix the caching problem in tests.</title>
<updated>2015-01-10T16:53:05+00:00</updated>
<author>
<name>Claudiu Popa</name>
<email>cpopa@cloudbasesolutions.com</email>
</author>
<published>2015-01-10T16:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=36ca8c9272f4e6d031a1a1e5c23bc70d47a5335b'/>
<id>36ca8c9272f4e6d031a1a1e5c23bc70d47a5335b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test failure in unittest_regrtest, due to change in the handling of extensions loading</title>
<updated>2014-12-04T07:53:19+00:00</updated>
<author>
<name>Sylvain Th?nault</name>
<email>sylvain.thenault@logilab.fr</email>
</author>
<published>2014-12-04T07:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=45ea0c895885103afe5bc32082ed913b92d65f07'/>
<id>45ea0c895885103afe5bc32082ed913b92d65f07</id>
<content type='text'>
Allowing to load arbitrary extensions fix test_new_style_class_detection but
make test_numpy_crash fail because inference seems to do a better job than
before and doesn't return anymore a YES object. As this test only checks that it
doesn't crash, simply stop checking this.

Closes #62
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allowing to load arbitrary extensions fix test_new_style_class_detection but
make test_numpy_crash fail because inference seems to do a better job than
before and doesn't return anymore a YES object. As this test only checks that it
doesn't crash, simply stop checking this.

Closes #62
</pre>
</div>
</content>
</entry>
</feed>
