Open idbrii opened 4 years ago
test_info has this assert:
self.assertEqual( info['entry_path'], '.')
which causes this failure on macOS 10.15.7:
|| AssertionError: '/var/folders/nn/60mn72f90kj5f2pf9x1sx9s00000gn/T/tmp9yvxsh56' != '.' || - /var/folders/nn/60mn72f90kj5f2pf9x1sx9s00000gn/T/tmp9yvxsh56 || + .
The reason is clearer when using absolute paths:
self.assertEqual( os.path.realpath(os.path.abspath(info['entry_path'])), os.path.realpath(os.path.abspath('.')))
|| AssertionError: 'file:///private/var/folders/nn/60mn72f90kj5f2pf9x1sx9s00000gn/T/tmplwu2veti' != 'file:///var/folders/nn/60mn72f90kj5f2pf9x1sx9s00000gn/T/tmplwu2veti' || - file:///private/var/folders/nn/60mn72f90kj5f2pf9x1sx9s00000gn/T/tmplwu2veti || ? -------- || + file:///var/folders/nn/60mn72f90kj5f2pf9x1sx9s00000gn/T/tmplwu2veti
Not sure if that private folder a macos-specific thing. I'm not entirely sure what's wrong and causing different paths or how to prevent it.
test_info has this assert:
which causes this failure on macOS 10.15.7:
The reason is clearer when using absolute paths:
Not sure if that private folder a macos-specific thing. I'm not entirely sure what's wrong and causing different paths or how to prevent it.