summaryrefslogtreecommitdiffstats
path: root/testing/042
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-12-18 19:19:27 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-12-18 19:19:27 (GMT)
commit36607693bace9db1e45ffcd08fec5a3c7674c3de (patch)
treeb67b05f39fc94667c7b1a07eba0abae4d2426be6 /testing/042
parent86da84f64878fb114ca12ca029466797cc1025a4 (diff)
downloadDoxygen-36607693bace9db1e45ffcd08fec5a3c7674c3de.zip
Doxygen-36607693bace9db1e45ffcd08fec5a3c7674c3de.tar.gz
Doxygen-36607693bace9db1e45ffcd08fec5a3c7674c3de.tar.bz2
Making tests valid for python 3
Test 65 gave some problems with python3: ``` Traceback (most recent call last): File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 487, in <module> main() File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 484, in main sys.exit(testManager.perform_tests()) File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 388, in perform_tests tester = Tester(self.args,test) File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 13, in __init__ self.config = self.get_config() File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 71, in get_config for line in f.readlines(): File "D:\Programs\Python\Python37\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 236: character maps to <undefined> ``` this happened on multiple places and also with the `popen` command. Created, analogous to `doc/translator.py`, special open functions so that the code works for Python 2 and Python 3.
Diffstat (limited to 'testing/042')
0 files changed, 0 insertions, 0 deletions