<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pint.git/pint/testsuite/test_pitheorem.py, branch master</title>
<subtitle>github.com: hgrecco/pint.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/'/>
<entry>
<title>Run pre-commit run --all-files . Mostly removed empty lines</title>
<updated>2023-04-25T00:16:13+00:00</updated>
<author>
<name>Hernan</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2023-04-25T00:16:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=bd935fd679d642758e88f23ed42d528f7399da6e'/>
<id>bd935fd679d642758e88f23ed42d528f7399da6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update testsuite to avoid a complete fail when the UnitRegistry is faulty</title>
<updated>2022-02-14T03:49:41+00:00</updated>
<author>
<name>Hernan</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2022-02-14T03:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=2f90d96694dbb2cc7eee81e36639f19741920328'/>
<id>2f90d96694dbb2cc7eee81e36639f19741920328</id>
<content type='text'>
Under no circunstances a registry should be instantiated in a
module outside a fixture to avoid error during collection.
This precludes running simple tests that do not depend on
the registry.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under no circunstances a registry should be instantiated in a
module outside a fixture to avoid error during collection.
This precludes running simple tests that do not depend on
the registry.
</pre>
</div>
</content>
</entry>
<entry>
<title>Migration of all tests to pytest</title>
<updated>2021-01-10T06:58:32+00:00</updated>
<author>
<name>Hernan</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2021-01-08T23:20:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=659f6304d0054c844c3347af9df6dffa14cb7f9f'/>
<id>659f6304d0054c844c3347af9df6dffa14cb7f9f</id>
<content type='text'>
The intento of this large commit is to move away from unittest
into pytest.

To speed-up migration we made certain choices that might
need to be revisted in the future:
- use pytest-subtests to replace unittest subtest infrastructure
  A lot of this might be better using parametrize
- While we have removed certain classes and flatten them to
  functions, some were kept for no particular reason
  (rewriting the QuantityTestCase base class)
- We have created some fixtures but not optimized.
  Feature optimization (i.e. using global registries for certain
  tests might speed up testing as it will void constructing
  the registry over and over)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The intento of this large commit is to move away from unittest
into pytest.

To speed-up migration we made certain choices that might
need to be revisted in the future:
- use pytest-subtests to replace unittest subtest infrastructure
  A lot of this might be better using parametrize
- While we have removed certain classes and flatten them to
  functions, some were kept for no particular reason
  (rewriting the QuantityTestCase base class)
- We have created some fixtures but not optimized.
  Feature optimization (i.e. using global registries for certain
  tests might speed up testing as it will void constructing
  the registry over and over)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant encoding information (utf8 is the default)</title>
<updated>2019-12-13T14:33:44+00:00</updated>
<author>
<name>Guido Imperiale</name>
<email>crusaderky@gmail.com</email>
</author>
<published>2019-12-13T14:33:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=bf3beebc8c4a34a70c41d350b65d5b99efe97e62'/>
<id>bf3beebc8c4a34a70c41d350b65d5b99efe97e62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>black</title>
<updated>2019-12-13T11:08:49+00:00</updated>
<author>
<name>Guido Imperiale</name>
<email>crusaderky@gmail.com</email>
</author>
<published>2019-12-13T11:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=165f85e21d5e1493bee3c5d188432999e7d6dee7'/>
<id>165f85e21d5e1493bee3c5d188432999e7d6dee7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove 2.7 support from codebase</title>
<updated>2019-12-03T17:29:46+00:00</updated>
<author>
<name>Guido Imperiale</name>
<email>crusaderky@gmail.com</email>
</author>
<published>2019-12-03T17:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=31a01bf568ec55b9ecd2862ff9daf9dbae703170'/>
<id>31a01bf568ec55b9ecd2862ff9daf9dbae703170</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implemented checks in testsuite to assert that warnings are only emmited when expected.</title>
<updated>2014-04-01T04:16:22+00:00</updated>
<author>
<name>Hernan Grecco</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2014-04-01T04:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=88f7bb3f28ee84912293678836801567a123c8cc'/>
<id>88f7bb3f28ee84912293678836801567a123c8cc</id>
<content type='text'>
Each test class captures the logging output for warnings and check at tear down that
there was not a warning. If any warning is expected you must explicitly capture within
the test using `with self.capture_log() as buffer:`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each test class captures the logging output for warnings and check at tear down that
there was not a warning. If any warning is expected you must explicitly capture within
the test using `with self.capture_log() as buffer:`
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored tests to use AssertQuantityEqual and AssertQuantityAlmostEqual</title>
<updated>2014-04-01T03:43:57+00:00</updated>
<author>
<name>Hernan Grecco</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2014-04-01T03:41:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=34fe6d39ebe3ba6b1915787b106026397a4394e8'/>
<id>34fe6d39ebe3ba6b1915787b106026397a4394e8</id>
<content type='text'>
Also created a contextmanager to capture log outputs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also created a contextmanager to capture log outputs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved code to compat subpackage and ajusted imports</title>
<updated>2014-01-13T23:56:18+00:00</updated>
<author>
<name>Hernan Grecco</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2014-01-13T23:56:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=5bde929f74083284151ea645485c6a0f8991a011'/>
<id>5bde929f74083284151ea645485c6a0f8991a011</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved Pi Theorem implementation.</title>
<updated>2013-04-28T00:12:27+00:00</updated>
<author>
<name>Hernan Grecco</name>
<email>hernan.grecco@gmail.com</email>
</author>
<published>2013-04-24T22:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pint.git/commit/?id=1b4b4e1cdbe96eb8af82204f3e1c97379d54f22b'/>
<id>1b4b4e1cdbe96eb8af82204f3e1c97379d54f22b</id>
<content type='text'>
The nullspace of the dimensionality matrix is now obtained without NumPy assistance.
This eliminates NumPy as a requirement to use the Pi Theorem. Moreover, the implemented
gaussian elimination uses fractions (not floats) by default which is more proper for
the type of matrices usually found in this application.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The nullspace of the dimensionality matrix is now obtained without NumPy assistance.
This eliminates NumPy as a requirement to use the Pi Theorem. Moreover, the implemented
gaussian elimination uses fractions (not floats) by default which is more proper for
the type of matrices usually found in this application.
</pre>
</div>
</content>
</entry>
</feed>
