Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 787f061 commit e0bc2feCopy full SHA for e0bc2fe
pythonnet/src/tests/test_module.py
@@ -208,10 +208,11 @@ def testImplicitAssemblyLoad(self):
208
def test():
209
# This should fail until System.Windows.Forms has been
210
# imported or that assembly has been explicitly loaded.
211
- # True for Windows; Not so for Mono 2.8.1 (ubuntu 10.10)
+ # True for Windows; Not so for Mono 2.8.1
212
import System.Windows
213
214
# The test fails when the project is compiled with MS VS 2005. Dunno why :(
215
+ # Fails (as expected) on Late Binding model. Works as expected on an interactive sesson.
216
self.assertRaises(ImportError, test)
217
218
clr.AddReference("System.Windows.Forms")
0 commit comments