Commit 46fff9a4 by Chris Jerdonek

Fixed another unit test for Python 3.

parent c53e4037
......@@ -185,10 +185,10 @@ class SpecLoaderTests(unittest.TestCase, AssertIsMixin, AssertStringMixin):
return _make_specloader()
def test_init__defaults(self):
custom = self._make_specloader()
spec_loader = SpecLoader()
# Check the loader attribute.
loader = custom.loader
loader = spec_loader.loader
self.assertEqual(loader.extension, 'mustache')
self.assertEqual(loader.file_encoding, sys.getdefaultencoding())
# TODO: finish testing the other Loader attributes.
......
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