Skip to content

Assemblymanager thread safety #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 17, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Part of the System namespace is implemented in mscorlib.dll
  • Loading branch information
abessen committed Oct 28, 2016
commit 2f416c4fcc0167c23073b70c815ac630e2ea431c
8 changes: 5 additions & 3 deletions src/tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,11 @@ def testModuleInterface(self):
import System
self.assertEquals(type(System.__dict__), type({}))
self.assertEquals(System.__name__, 'System')
# the filename can be any module from the System namespace (eg System.Data.dll or System.dll)
self.assertTrue(fnmatch(System.__file__, "*System*.dll"),
"unexpected System.__file__" + System.__file__)
# the filename can be any module from the System namespace
# (eg System.Data.dll or System.dll, but also mscorlib.dll)
system_file = System.__file__
self.assertTrue(fnmatch(system_file, "*System*.dll") or fnmatch(system_file, "mscorlib.dll"),
"unexpected System.__file__" + system_file)
self.assertTrue(System.__doc__.startswith("Namespace containing types from the following assemblies:"))
self.assertTrue(self.isCLRClass(System.String))
self.assertTrue(self.isCLRClass(System.Int32))
Expand Down