<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/astroid.git/astroid/tests/resources.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>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>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>Clean the path importer cache correctly, do not nuke entries for the standard library.</title>
<updated>2014-11-17T19:30:38+00:00</updated>
<author>
<name>Torsten Marek</name>
<email>shlomme@gmail.com</email>
</author>
<published>2014-11-17T19:30:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=3eedae3887b261d4d19a207ba01fb84ac0710321'/>
<id>3eedae3887b261d4d19a207ba01fb84ac0710321</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge all test data into a single package per Python version.</title>
<updated>2014-11-09T21:44:59+00:00</updated>
<author>
<name>Torsten Marek</name>
<email>shlomme@gmail.com</email>
</author>
<published>2014-11-09T21:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/astroid.git/commit/?id=f5952d500ca1052252a0d8699be7ca3cf8e4eeda'/>
<id>f5952d500ca1052252a0d8699be7ca3cf8e4eeda</id>
<content type='text'>
Also modernized a lot of test code. This makes it possible to run the
tests from both the base directory of the project as well as the
astroid package.

Since the packages have the same name for Python 2 and 3, there is less
version-dependent code in the tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also modernized a lot of test code. This makes it possible to run the
tests from both the base directory of the project as well as the
astroid package.

Since the packages have the same name for Python 2 and 3, there is less
version-dependent code in the tests.
</pre>
</div>
</content>
</entry>
</feed>
