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.
There was an error while loading. Please reload this page.
1 parent e0c3bd7 commit 873d122Copy full SHA for 873d122
1 file changed
Lib/test/test_importlib/util.py
@@ -20,6 +20,7 @@ def test_both(test_class, **kwargs):
20
(test_class, unittest.TestCase))
21
source_tests = types.new_class('Source_'+test_class.__name__,
22
23
+ frozen_tests.__module__ = source_tests.__module__ = test_class.__module__
24
for attr, (frozen_value, source_value) in kwargs.items():
25
setattr(frozen_tests, attr, frozen_value)
26
setattr(source_tests, attr, source_value)
0 commit comments