Please tell if this is correct behavior when using nose. Assume I have a python file called &#39;myscript.py&#39;:<br><div class="gmail_quote"><br><span style="font-family: courier new,monospace;">$ ls .</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp; myscript.py</span><br style="font-family: courier new,monospace;"></div><span style="font-family: courier new,monospace;">&nbsp;&nbsp; ...</span><br><br><span style="font-family: courier new,monospace;">$ cat myscript.py</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">def test():</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; pass</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$ nosetests</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">----------------------------------------------------------------------</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Ran 0 tests in 0.006s</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">OK</span><br>
<br>Why doesn&#39;t nose run my test in my script file?<br><br>Thanks.<br>