beeware / voc

A transpiler that converts Python code into Java bytecode

Home Page:http://beeware.org/voc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests failing for os.getcwd()

saptarshikar opened this issue · comments

Unit test for os.getcwd fails because the temp path generated from the java run and the temp path generated from the python run are different. Temp path generated from the python run includes a trailing /temp.

Example:

AssertionError: '/voc-dev/voc/tests/tmp72mr1ku2\n===end of test===\n' != '/voc-dev/voc/tests/tmp72mr1ku2/temp\n===end of test===\n'
E - /voc-dev/voc/tests/tmp72mr1ku2
E + /voc-dev/voc/tests/tmp72mr1ku2/temp