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

testing the pynoddy #44

Open
vikash331186 opened this issue Oct 12, 2021 · 0 comments
Open

testing the pynoddy #44

vikash331186 opened this issue Oct 12, 2021 · 0 comments

Comments

@vikash331186
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant