Python 3.4 Deprecationwarning Convert_charrefs
Using UnitTest in the shell: python3.4 -m unittest my_test.py -v I get the DeprecationWarning DeprecationWarning: The value of convert_charrefs will become True in 3.5. You are en
Solution 1:
convert_charrefs
correspond to HTMLParser
. If you inherit from this class you must explicitly specify convert_charrefs:
class Foo(HTMLParser):
def __init__(self):
super().__init__(convert_charrefs=True)
Post a Comment for "Python 3.4 Deprecationwarning Convert_charrefs"