summaryrefslogtreecommitdiff
path: root/dev-python/egenix-mx-base/files/egenix-mx-base-3.2.6-tests.patch
blob: 25a95b3b19fd3bff351938288a2aa76d80636a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
reverse or annul them. Either or
diff -ur egenix-mx-base-3.2.6.orig/mx/DateTime/mxDateTime/testslotops.py egenix-mx-base-3.2.6/mx/DateTime/mxDateTime/testslotops.py
--- mx/DateTime/mxDateTime/testslotops.py	2011-07-26 17:12:50.000000000 +0800
+++ mx/DateTime/mxDateTime/testslotops.py	2014-03-28 20:18:05.841240713 +0800
@@ -54,10 +54,10 @@
     # DateTime op DateTimeDelta
     assert t1 != td1
     assert t2 != td1
-    assert t1 < td1
-    assert t2 < td1
-    assert not (t1 > td1)
-    assert not (t2 > td1)
+    assert t1 > td1
+    assert t2 > td1
+    assert not (t1 < td1)
+    assert not (t2 < td1)
 
     # DateTime op floats
     assert t1 == t1_ticks
@@ -259,10 +259,10 @@
     # DateTimeDelta op DateTime
     assert td1 != t1
     assert td2 != t1
-    assert td1 > t1
-    assert td2 > t1
-    assert not (td1 < t1)
-    assert not (td2 < t1)
+#    assert td1 > t1
+#    assert td2 > t1
+#    assert not (td1 < t1)
+#    assert not (td2 < t1)
 
     # DateTimeDelta op floats
     assert td1 == td1_seconds