From 3914900dc35d0103311a4ad294405f84203fb90d Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Mon, 24 Feb 2014 14:11:18 +0100 Subject: [PATCH] Fix map test --- pygal/test/test_graph.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pygal/test/test_graph.py b/pygal/test/test_graph.py index 5b87285..dbefd1f 100644 --- a/pygal/test/test_graph.py +++ b/pygal/test/test_graph.py @@ -159,7 +159,10 @@ def test_values_by_dict(Chart): chart1 = Chart(no_prefix=True) chart2 = Chart(no_prefix=True) - if not issubclass(Chart, pygal.Worldmap): + if not issubclass(Chart, ( + pygal.Worldmap, + pygal.FrenchMap_Departments, + pygal.FrenchMap_Regions)): chart1.add('A', {'red': 10, 'green': 12, 'blue': 14}) chart1.add('B', {'green': 11, 'red': 7}) chart1.add('C', {'blue': 7})