Permalink
Browse files

Fix ChangedPyFileTest.test_changing_py_file failure

  • Loading branch information...
tkf committed Mar 23, 2013
1 parent 2975de6 commit c8dda3218d88b6e71f4f0b6485008e7fff0f93fa
Showing with 3 additions and 3 deletions.
  1. +3 −3 IPython/core/tests/test_run.py
@@ -366,14 +366,14 @@ def setUp(self):
sys.path.insert(0, self.tempdir.name)
self.writefile(os.path.join(package, '__init__.py'), '')
- self.writefile(os.path.join(package, 'foo.py'), """
+ self.writefile(os.path.join(package, 'sub.py'), """
x = {0!r}
""".format(self.value))
self.writefile(os.path.join(package, 'relative.py'), """
- from .foo import x
+ from .sub import x
""")
self.writefile(os.path.join(package, 'absolute.py'), """
- from {0}.foo import x
+ from {0}.sub import x
""".format(package))
def tearDown(self):

0 comments on commit c8dda32

Please sign in to comment.