autotest warnings
See original GitHub issuehi there, Im running into problems running the autotests,
Clean install in clean virtualenv, latest python 3.5 downloaded direct 20 aug.
I have tried to run the created files however I also get a constant return of missing modules. That I can probably work through however Im wondering if this is due to something not completing due to the build warnings
`
(py3.5Test) lenovo% transcrypt -b autotest.py
Transcrypt ™ Python to JavaScript Small Sane Subset Transpiler Version 3.5.213
Copyright © Geatec Engineering. License: Apache 2.0
Saving result in: /home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt/__javascript__/autotest.js
Saving minified result in: /home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt/__javascript__/autotest.min.js
/home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt/__javascript__/autotest.js:3234: WARNING - unreachable code
catch (__except0__) {
^
/home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt/__javascript__/autotest.js:3245: WARNING - unreachable code
catch (__except0__) {
^
/home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt/__javascript__/autotest.js:3256: WARNING - unreachable code
catch (__except0__) {
^
/home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt/__javascript__/autotest.js:3267: WARNING - unreachable code
catch (__except0__) {
^
0 error(s), 4 warning(s)
Ready
`
Hope someone can help me in the right direction
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Autotest Best Practices
TestWarn should be used when side effects to the test running are encountered but are not directly related to the test running. For...
Read more >How can I immediately fail an auto test if a warning occurs
I want to instantly fail any auto test when a warning is printed in the tested code, so that I don't miss it...
Read more >Automatic Package Testing • autotest - Docs
autotest. Automatic mutation testing of R packages. ... The result is a data.frame of errors, warnings, and other diagnostic messages issued during package ......
Read more >Autotest | QA Systems
Warning messages are written to the AutoTest Generation Report, showing where and why it was not possible to generate test cases, indicating possible ......
Read more >autotest COVID-VIRO ALL IN®
Precautions and warnings · Do not use nasal sprays in the 12 hours before carrying out the test. · The diluent contains a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a workaround you can manually add the path to the transcript modules in
__main__.py
in your case it would look like this … sys.path.insert(1,‘/home/dave/.virtualenvs/py3.5Test/lib/python3.5/site-packages/transcrypt/development/automated_tests/transcrypt’) print (transpilerDir) print (modulesDir) print (sys.path)…seems to work now
Haven’t been able to get to the bottom of this.