Changeset b36903d in trunk


Ignore:
Timestamp:
2015-03-31T18:06:14Z (10 years ago)
Author:
Brian Warner <warner@…>
Branches:
master
Children:
cc68a813
Parents:
26c8aba
git-author:
Brian Warner <warner@…> (2015-03-31 16:30:17)
git-committer:
Brian Warner <warner@…> (2015-03-31 18:06:14)
Message:

test_ftp: fix comparison against integer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/allmydata/test/test_ftp.py

    r26c8aba rb36903d  
    8080        for (a, b) in zip(actual_list, expected_list):
    8181           (name, meta) = a
     82           # convert meta.permissions to int for comparison. When we run
     83           # against many (but not all) versions of Twisted, this is a
     84           # filepath.Permissions object, not an int
     85           meta = list(meta)
     86           meta[2] = meta[2] & 0xffffffff
    8287           (expected_name, expected_meta) = b
    8388           self.failUnlessReallyEqual(name, expected_name)
Note: See TracChangeset for help on using the changeset viewer.