logilab-common #63174 [windows] pytest crash because HOME is not there [resolved]

C:\data\workspace\Pylos\cubes\pagode\test>pytest -xi test_import_export.py RoundTripTC
====================== test_import_export.py =======================
Building pylos-import-mixin-db for database tmpdb
-> creating tables [....................]
-> inserting default user and default groups.
-> storing the schema in the database [................... ]
C:\data\workspace\Pylos\logilab\database\fti.py:53: DeprecationWarning: ignorenonascii is deprecated, use substitute named parameter instead
word = unormalize(word.lower(), ignorenonascii=True)
-> database for instance data initialized.
import mixin setup database
start import
commit import
exporting
exported
comparing
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Cannot create new sheet in a read-only workbook
Funhandled exception occurred while testing test_import_export
Traceback (most recent call last):
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 428, in testfile
options=self.options, outstream=sys.stderr)
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 764, in __init__
testLoader=NonStrictTestLoader())
File "C:\data\workspace\Pylos\unittest2\main.py", line 98, in __init__
self.runTests()
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 827, in runTests
return self._runTests()
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 872, in _runTests
result = self.testRunner.run(self.test)
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 955, in run
test(result, runcondition=self._runcondition, options=self.options)
File "C:\data\workspace\Pylos\unittest2\suite.py", line 64, in __call__
return self.run(*args, **kwds)
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 1109, in _ts_run
self._wrapped_run(result,runcondition=runcondition, options=options)
File "C:\data\workspace\Pylos\logilab\common\pytest.py", line 1134, in _ts_wrapped_run
test(result, runcondition, options)
File "C:\data\workspace\Pylos\logilab\common\testlib.py", line 574, in __call__
status = self._proceed(result, testMethod)
File "C:\data\workspace\Pylos\logilab\common\testlib.py", line 646, in _proceed
result.addFailure(self, self.__exc_info())
File "C:\data\workspace\Pylos\logilab\common\testlib.py", line 307, in addFailure
self._create_pdb(descr, 'fail')
File "C:\data\workspace\Pylos\logilab\common\testlib.py", line 242, in _create_pdb
self.debuggers.append(self.pdbclass(sys.exc_info()[2]))
File "C:\data\workspace\Pylos\logilab\common\debugger.py", line 101, in __init__
self._histfile = osp.join(os.environ["HOME"], ".pdbhist")
File "C:\Python26\lib\os.py", line 423, in __getitem__
return self.data[key.upper()]
KeyError: 'HOME'
*******************************************************************************
Ran 1 test cases in 0.00s (0.00s CPU), 1 errors
0 modules OK (1 failed)

prioritynormal
typebug
done in0.55.1
load left0.000
closed by<not specified>