diff --git a/test/test_pytools.py b/test/test_pytools.py
index 89526765c08c30c4779a68af4ad301b8ac066376..87b5d3a76d2d76e4a61e8343252e9b81cd7c767c 100644
--- a/test/test_pytools.py
+++ b/test/test_pytools.py
@@ -354,8 +354,7 @@ def test_tag():
     t2 = t1.tagged(red_ribbon)
     print(t2.tags)
     assert t2.tags == frozenset((reserve_best_in_show_ribbon, best_in_class_ribbon,
-                                blue_ribbon,
-                                red_ribbon))
+                                blue_ribbon, red_ribbon))
 
     # Test that tagged() fails if a UniqueTag of the same subclass
     # is alredy present