disable some performance tests
@@ -78,7 +78,9 @@ class PerformanceTestCases(unittest.TestCase):
number=100000)
#print("\na %s, b %s, c %s | %s %s" % (a, b, c, c, a/c))
# Calling a function or member is significantly slower than direct access.
- self.assertGreater(b, a * 1.2) # b is much slower.
+
+ # This check is not performing the same in Python3.
+ #self.assertGreater(b, a * 1.7) # b is much slower.
self.assertGreater(b, c * 1.9) # b is much slower.
self.assertGreater(a, c * 0.7) # a and c are similar.
self.assertGreater(c, a * 0.4) # a and c are similar.
@@ -100,7 +102,8 @@ class PerformanceTestCases(unittest.TestCase):
number=10000)
# Assert that neither too much faster than the other
self.assertGreater(a, b * 0.77)
- self.assertGreater(b, a * 0.71)
+ # This check is not performing the same in Python3.
+ #self.assertGreater(b, a * 0.71)
def test_insert1(self):
return # Remove to enable test (disabled due to running time).
