On 16/3/20 10:26 am, Gedare Bloom wrote:
> On Fri, Mar 13, 2020 at 5:28 PM Amar Takhar <a...@rtems.org> wrote:
>> +def test_label_error():
>> +       from rtemstoolkit.error import general
> I think all imports should go at the top?

This is done in a number of places. It means the import only happens when the
code comes into scope and this can be a good thing.

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to