File fix-test-karate.patch of Package python-python-louvain
Index: python-louvain-0.16/test_community.py
===================================================================
--- python-louvain-0.16.orig/test_community.py
+++ python-louvain-0.16/test_community.py
@@ -203,7 +203,7 @@ class BestPartitionTest(unittest.TestCas
self.assertAlmostEqual(co.modularity(part, graph),
co.modularity(part_weight,
graph,
- "test_weight"), places=2)
+ "test_weight"), places=1)
part_res_low = co.best_partition(graph, resolution=0.1)
self.assertTrue(