Michael Trier  committed d050991

Modified unittests docs to explain that --first-package-wins=True is required on Windows. Also modified the setup.cfg to add this option so that if using the default config there will be consistent behavior on all platforms.

  • Participants
  • Parent commits 9f020d3
  • Branches master

Comments (0)

Files changed (2)

File README.unittests

     $ nosetests
+If you're running the tests on Microsoft Windows, then there is an additional
+argument that must be passed to nosetests:
+    > nosetests --first-package-wins=True
+This is required because nose’s importer will normally evict a package from
+sys.modules if it sees a package with the same name in a different location.
+Setting this argument disables that behavior.
 Assuming all tests pass, this is a very unexciting output.  To make it more 
 with-sqlalchemy = true
-exclude = ^examples
+exclude = ^examples
+first-package-wins = true