Commit a95fdb4f authored by Brett Cannon's avatar Brett Cannon

Backport of a fix for the __loader__.get_data() test.

parent ce189e4e
......@@ -1912,6 +1912,7 @@ def test_DocFileSuite():
provided.
>>> import unittest, pkgutil, test
>>> added_loader = False
>>> if not hasattr(test, '__loader__'):
... test.__loader__ = pkgutil.get_loader(test)
... added_loader = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment