Browse Source

Fix map test

pull/98/head
Florian Mounier 11 years ago
parent
commit
3914900dc3
  1. 5
      pygal/test/test_graph.py

5
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})

Loading…
Cancel
Save