Skip to content

testing the pynoddy #44

@vikash331186

Description

@vikash331186

C:\Users\NGRI_GVT_001\pynoddy>> python setup.py test
C:\Users\NGRI_GVT_001\anaconda3\lib\site-packages\setuptools\dist.py:461: UserWarning: Normalizing '1.01' to '1.1'
warnings.warn(tmpl.format(**locals()))
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
file pynoddy\experiment.py (for module pynoddy.experiment) not found
file pynoddy\experiment\util.py (for module pynoddy.experiment.util) not found
warning: no files found matching '*.g??' under directory 'examples'
test_compute_model (test.TestHistory) ... ERROR

======================================================================
ERROR: test_compute_model (test.TestHistory)

Traceback (most recent call last):
File "C:\Users\NGRI_GVT_001\pynoddy\test_init_.py", line 15, in test_compute_model
return_val = pynoddy.compute_model(history, output_name)
File "C:\Users\NGRI_GVT_001\pynoddy\pynoddy_init_.py", line 109, in compute_model
subprocess.run([noddy_path, history, output_name, sim_type],
File "C:\Users\NGRI_GVT_001\anaconda3\lib\subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\NGRI_GVT_001\anaconda3\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\NGRI_GVT_001\anaconda3\lib\subprocess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application


Ran 1 test in 0.053s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>

this is the error while testing the pynoddy. please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions