Skip to content
Snippets Groups Projects
Commit 6ca51276 authored by Tue Herlau's avatar Tue Herlau
Browse files

Merge branch 'master' of lab.compute.dtu.dk:tuhe/unitgrade

parents 025ec6c0 c90658de
No related branches found
No related tags found
No related merge requests found
......@@ -13,17 +13,17 @@ Easy-to-use, easy-to-build report evaluations in a framework building on pythons
## Installation
Unitgrade can be installed through pip using
```
pip install git+ssh://git@gitlab.compute.dtu.dk/tuhe/unitgrade.git
pip install git+https://git@gitlab.compute.dtu.dk/tuhe/unitgrade.git
```
This will install unitgrade in your site-packages directory. If you want to upgrade an old installation of unitgrade:
```
pip install git+ssh://git@gitlab.compute.dtu.dk/tuhe/unitgrade.git --upgrade
pip install git+https://git@gitlab.compute.dtu.dk/tuhe/unitgrade.git --upgrade
```
If you are using anaconda+virtual environment you can install it as
```
source activate myenv
conda install git pip
pip install git+ssh://git@gitlab.compute.dtu.dk/tuhe/unitgrade.git
pip install git+https://git@gitlab.compute.dtu.dk/tuhe/unitgrade.git
```
Alternatively, simply use git-clone of the sources and add unitgrade to your python path.
......
File added
File added
File added
......@@ -77,7 +77,7 @@ class QItem(unittest.TestCase):
if self.tol > 0 and self.testfun is None:
self.testfun = self.assertL2Relative
else:
self.testfun = unittest.TestCase.assertEqual
self.testfun = self.assertEqual
self.name = self.__class__.__name__
self._correct_answer_payload = correct_answer_payload
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment