1. Olof Bjarnason
  2. pytddmon
  3. Issues
Issue #9 new

can't run pyDoubles tests

Carlos Ble
created an issue

python pyTDDmon.pyw unit.py Traceback (most recent call last): File "pyTDDmon.pyw", line 438, in <module> run() File "pyTDDmon.pyw", line 427, in run win = pyTDDmonFrame(root, filtered) File "pyTDDmon.pyw", line 330, in init self.look_for_changes() File "pyTDDmon.pyw", line 394, in look_for_changes self.failures = self.get_number_of_failures() File "pyTDDmon.pyw", line 340, in get_number_of_failures (green, total) = self.runner.run(RUN_TESTS_SCRIPT_FILE) File "pyTDDmon.pyw", line 188, in run output = self.cmdrunner.run_cmdline('python "%s"' % test_script) File "pyTDDmon.pyw", line 271, in run_cmdline p = Popen(list, stdout=PIPE, stderr=STDOUT, shell=use_shell) File "/usr/lib/python2.6/subprocess.py", line 633, in init errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

Where unit.py is pyDoubles unit tests file.

Will have a look at this myself as soon as possible :-)

Comments (2)

  1. Olof Bjarnason repo owner

    I think this might be fixed in latest pyTDDmon (bitbucket version). For some reason, the shlex module was only used if on Windows (see row 269 in your pyDoublesTests/pyTDDmon.pyw). So start by updating pyTDDmon.pyw once more :)

  2. Log in to comment