Browse Source

Wrap forgotten u''

pull/35/head
Florian Mounier 12 years ago
parent
commit
1f1ff2ceb3
  1. 5
      pygal/test/test_config.py

5
pygal/test/test_config.py

@ -17,6 +17,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with pygal. If not, see <http://www.gnu.org/licenses/>.
from pygal import Line, Dot, Pie, Radar, Config
from pygal._compat import u
from pygal.test.utils import texts
from pygal.test import pytest_generate_tests, make_data
@ -222,6 +223,6 @@ def test_no_data():
line = Line()
q = line.render_pyquery()
assert q(".text-overlay text").text() == "No data"
line.no_data_text = u"þæ®þ怀&ij¿’€"
line.no_data_text = u("þæ®þ怀&ij¿’€")
q = line.render_pyquery()
assert q(".text-overlay text").text() == u"þæ®þ怀&ij¿’€"
assert q(".text-overlay text").text() == u("þæ®þ怀&ij¿’€")

Loading…
Cancel
Save