def test_truncation_darwinlinux():
    """Tests make_valid_filename truncates filenames to valid length
    """

    if platform.system() not in ['Darwin', 'Linux']:
        import nose
        raise nose.SkipTest("Test only valid on Darwin and Linux platform")

    _test_truncation(254, windows_safe = False)
Tests make_valid_filename truncates filenames to valid length
    
tests/test_safefilename.py