Skip to content

Commit

Permalink
Remove import from .context as it is unnecessary, add module level co…
Browse files Browse the repository at this point in the history
…mment.
  • Loading branch information
ahaselsteiner committed Sep 28, 2020
1 parent c453876 commit dddcfdf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
5 changes: 5 additions & 0 deletions tests/test_distributions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# -*- coding: utf-8 -*-
"""
Tests the distribution classes.
"""

import unittest


Expand Down
6 changes: 5 additions & 1 deletion tests/test_distributions2.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# -*- coding: utf-8 -*-
"""
Tests the distribution classes.
"""

import pytest

import numpy as np
import scipy.stats as sts

from .context import viroconcom
from viroconcom.distributions import (WeibullDistribution, NormalDistribution,
LognormalDistribution)
from viroconcom.params import ConstantParam
Expand Down
8 changes: 1 addition & 7 deletions tests/test_params.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 19 12:22:42 2017
@author: nb
Tests the parameter classes
"""
import unittest

import numpy as np


from .context import viroconcom

from viroconcom.params import ConstantParam, FunctionParam, Wrapper


Expand Down
2 changes: 0 additions & 2 deletions tests/test_pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

from numpy.testing import assert_allclose

from .context import viroconcom

from viroconcom.utility import PCA
from viroconcom.fitting import Fit
from viroconcom.contours import IFormContour
Expand Down

0 comments on commit dddcfdf

Please sign in to comment.