Menu

#1409 unittesting causes second import

pending
debugger (210)
5
2011-10-23
2011-10-20
No

PyDev v.2.2.3.2011100616
When unittesting (at least with Debug as -> Python unit-test), the unittest module gets imported twice, such that code in the module gets executed twice.
See appended image.

Discussion

  • Remi Zautsen

    Remi Zautsen - 2011-10-20

    screenshot

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-10-23

    I can't really reproduce the issue here... can you attach some sample code where this happens and more information to reproduce it? (i.e.: python version, os)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-10-23
    • status: open --> pending
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.