Now using Travis-CI to automatize the tests, some changes to make tests pass in python3.3
This commit is contained in:
parent
0eccef32bf
commit
5f7b240aa6
3 changed files with 18 additions and 6 deletions
|
|
@ -1,4 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
from xml.dom.minidom import getDOMImplementation
|
||||
from unittest import TestCase
|
||||
|
|
@ -9,7 +11,6 @@ def test_undefined_silently():
|
|||
|
||||
assert isinstance(undefined(), UndefinedSilently)
|
||||
assert isinstance(undefined.attribute, UndefinedSilently)
|
||||
assert unicode(undefined) == u''
|
||||
assert str(undefined) == ''
|
||||
|
||||
def test_pad_string():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue