Skip to content

Windows: home directory expansion test fails #2019

@jdmarch

Description

@jdmarch
$ iptest IPython.utils
.....................................................................................F........SS.....S...S..S..........................
....................................................................................
======================================================================
FAIL: test_get_ipython_dir_7, test home directory expansion on IPYTHONDIR
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Python27\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "c:\documents and settings\jdm\ipython\IPython\utils\tests\test_path.py", line 293, in test_get_ipython_dir_7
    nt.assert_equal(ipdir, os.path.join(home_dir, 'somewhere'))
AssertionError: u'c:\\Documents and Settings\\JDM\\somewhere' != 'c:/Documents and Settings/JDM\\somewhere'
    "u'c:\\\\Documents and Settings\\\\JDM\\\\somewhere' != 'c:/Documents and Settings/JDM\\\\somewhere'" = '%s != %s' % (safe_repr(u'c
:\\Documents and Settings\\JDM\\somewhere'), safe_repr('c:/Documents and Settings/JDM\\somewhere'))
    "u'c:\\\\Documents and Settings\\\\JDM\\\\somewhere' != 'c:/Documents and Settings/JDM\\\\somewhere'" = self._formatMessage("u'c:\\
\\Documents and Settings\\\\JDM\\\\somewhere' != 'c:/Documents and Settings/JDM\\\\somewhere'", "u'c:\\\\Documents and Settings\\\\JDM\
\\\somewhere' != 'c:/Documents and Settings/JDM\\\\somewhere'")
>>  raise self.failureException("u'c:\\\\Documents and Settings\\\\JDM\\\\somewhere' != 'c:/Documents and Settings/JDM\\\\somewhere'")


----------------------------------------------------------------------                                                                 R

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions