##// END OF EJS Templates
Add failing test for issue gh-6282
Thomas Kluyver -
Show More
@@ -472,6 +472,12 b' class InteractiveShellTestCase(unittest.TestCase):'
472 with open(filename, 'r') as f:
472 with open(filename, 'r') as f:
473 self.assertEqual(f.read(), 'blah')
473 self.assertEqual(f.read(), 'blah')
474
474
475 def test_new_main_mod(self):
476 # Smoketest to check that this accepts a unicode module name
477 name = u'jiefmw'
478 mod = ip.new_main_mod(u'%s.py' % name, name)
479 self.assertEqual(mod.__name__, name)
480
475 class TestSafeExecfileNonAsciiPath(unittest.TestCase):
481 class TestSafeExecfileNonAsciiPath(unittest.TestCase):
476
482
477 @onlyif_unicode_paths
483 @onlyif_unicode_paths
General Comments 0
You need to be logged in to leave comments. Login now