======================================================================
ERROR: test_save_config_non_ascii (configglue.tests.test_parser.TestSchemaConfigParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/barry/projects/ubuntu/configglue/configglue-1.1.0/configglue/tests/test_parser.py", line 1005, in test_save_config_non_ascii
self._check_save_file(expected)
File "/home/barry/projects/ubuntu/configglue/configglue-1.1.0/configglue/tests/test_parser.py", line 1015, in _check_save_file
self.parser.save(open(filename, 'w'))
File "/home/barry/projects/ubuntu/configglue/configglue-1.1.0/configglue/parser.py", line 599, in save
self.write(fp)
File "/home/barry/projects/ubuntu/configglue/configglue-1.1.0/configglue/parser.py", line 584, in write
fp.write("%s\n" % (key))
UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 7: ordinal not in range(128)
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= config_ non_ascii (configglue. tests.test_ parser. TestSchemaConfi gParser) ------- ------- ------- ------- ------- ------- ------- ------- ------- barry/projects/ ubuntu/ configglue/ configglue- 1.1.0/configglu e/tests/ test_parser. py", line 1005, in test_save_ config_ non_ascii _check_ save_file( expected) barry/projects/ ubuntu/ configglue/ configglue- 1.1.0/configglu e/tests/ test_parser. py", line 1015, in _check_save_file parser. save(open( filename, 'w')) barry/projects/ ubuntu/ configglue/ configglue- 1.1.0/configglu e/parser. py", line 599, in save barry/projects/ ubuntu/ configglue/ configglue- 1.1.0/configglu e/parser. py", line 584, in write
ERROR: test_save_
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
self.write(fp)
File "/home/
fp.write("%s\n" % (key))
UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 7: ordinal not in range(128)