summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pint/testsuite/test_issues.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/pint/testsuite/test_issues.py b/pint/testsuite/test_issues.py
index a2e757e..0cefce9 100644
--- a/pint/testsuite/test_issues.py
+++ b/pint/testsuite/test_issues.py
@@ -573,11 +573,11 @@ class TestIssuesNP(QuantityTestCase):
self.assertRaises(DimensionalityError, f, ureg.Quantity(1, 'm'))
def test_issue625a(self):
- try:
- from inspect import signature
- except ImportError:
- # Python2 does not have the inspect library. Import the backport.
- from funcsigs import signature
+ try:
+ from inspect import signature
+ except ImportError:
+ # Python2 does not have the inspect library. Import the backport.
+ from funcsigs import signature
ureg = UnitRegistry()
Q_ = ureg.Quantity
@@ -605,11 +605,11 @@ class TestIssuesNP(QuantityTestCase):
self.assertAlmostEqual(t2, Q_(3.508232077228117, 's'))
def test_issue625b(self):
- try:
- from inspect import signature
- except ImportError:
- # Python2 does not have the inspect library. Import the backport.
- from funcsigs import signature
+ try:
+ from inspect import signature
+ except ImportError:
+ # Python2 does not have the inspect library. Import the backport.
+ from funcsigs import signature
ureg = UnitRegistry()
Q_ = ureg.Quantity