Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jinja2 2.6 unittest errors on windows #60

Closed
mindw opened this issue Sep 24, 2011 · 1 comment
Closed

jinja2 2.6 unittest errors on windows #60

mindw opened this issue Sep 24, 2011 · 1 comment

Comments

@mindw
Copy link

mindw commented Sep 24, 2011

On WinXP SP2 using Python 2.7.2 using the following command line

python -m unittest jinja2.testsuite.suite

gives the below errors:

ERROR: test_byte_compilation (jinja2.testsuite.loader.ModuleLoaderTestCase)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\jinja2\testsuite__init__.py", line 51, in tearDown
self.teardown()
File "C:\Python27\lib\site-packages\jinja2\testsuite\loader.py", line 124, in teardown
os.remove(self.archive)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\windows\temp\tmpoyofll.zip'

ERROR: test_deflated_zip_compile (jinja2.testsuite.loader.ModuleLoaderTestCase)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\jinja2\testsuite__init__.py", line 51, in tearDown
self.teardown()
File "C:\Python27\lib\site-packages\jinja2\testsuite\loader.py", line 124, in teardown
os.remove(self.archive)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\windows\temp\tmps9be2f.zip'

ERROR: test_log (jinja2.testsuite.loader.ModuleLoaderTestCase)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\jinja2\testsuite__init__.py", line 51, in tearDown
self.teardown()
File "C:\Python27\lib\site-packages\jinja2\testsuite\loader.py", line 124, in teardown
os.remove(self.archive)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\windows\temp\tmpe0vzue.zip'

ERROR: test_stored_zip_compile (jinja2.testsuite.loader.ModuleLoaderTestCase)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\jinja2\testsuite__init__.py", line 51, in tearDown
self.teardown()
File "C:\Python27\lib\site-packages\jinja2\testsuite\loader.py", line 124, in teardown
os.remove(self.archive)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\windows\temp\tmpxo2zko.zip'

ERROR: test_weak_references (jinja2.testsuite.loader.ModuleLoaderTestCase)

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\jinja2\testsuite__init__.py", line 51, in tearDown
self.teardown()
File "C:\Python27\lib\site-packages\jinja2\testsuite\loader.py", line 124, in teardown
os.remove(self.archive)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\windows\temp\tmpf8_oab.zip'


Ran 266 tests in 1.000s

FAILED (errors=5)

@jeffwidman
Copy link
Contributor

Since we're now on Jinja 2.8, I'm going to close this. If you still experience these issues with the latest version, please comment and we can reopen.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants