File: up_no_test_xfail

package info (click to toggle)
python-quantities 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 828 kB
  • sloc: python: 9,127; makefile: 72; sh: 3
file content (19 lines) | stat: -rw-r--r-- 607 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Yaroslav Halchenko <debian@onerussian.com>
Subject: remove xfail decorator

  Could not figure out why it should fail but it doesn't for me
  ATM.  More info/discussion at
  https://github.com/python-quantities/python-quantities/issues/8

Last-Update: 2019-09-01

--- a/quantities/tests/test_umath.py
+++ b/quantities/tests/test_umath.py
@@ -154,7 +154,6 @@ class TestUmath(TestCase):
             [-1., -1., -0., 1., 2., 2., 2.] * pq.m
             )
 
-    @unittest.expectedFailure
     def test_fix(self):
         try:
             self.assertQuantityEqual(np.fix(3.14 * pq.degF), 3.0 * pq.degF)