#191 test_buildhtml.py fails with Python 3

closed-fixed
nobody
None
5
2012-09-03
2012-04-24
Jakub Wilk
No

$ python3 test_buildhtml.py
EE
======================================================================
ERROR: test_1 (__main__.BuildHtmlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_buildhtml.py", line 61, in setUp
self.root = os.tempnam()
AttributeError: 'module' object has no attribute 'tempnam'

======================================================================
ERROR: test_local (__main__.BuildHtmlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_buildhtml.py", line 61, in setUp
self.root = os.tempnam()
AttributeError: 'module' object has no attribute 'tempnam'

----------------------------------------------------------------------
Ran 2 tests in 0.001s

FAILED (errors=2)

Discussion

  • Günter Milde

    Günter Milde - 2012-09-03
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks