1. 13 2月, 2018 6 次提交
  2. 12 2月, 2018 5 次提交
  3. 10 2月, 2018 2 次提交
  4. 08 2月, 2018 3 次提交
  5. 07 2月, 2018 1 次提交
  6. 06 2月, 2018 2 次提交
  7. 04 2月, 2018 3 次提交
  8. 03 2月, 2018 1 次提交
  9. 01 2月, 2018 1 次提交
    • C
      Python 3: provide a predictive FilterSet.__repr__() implementation · f594df04
      Cleber Rosa 提交于
      There's a difference on how Python 2 and 3 represents a set(), which is true
      for the set derived FilterSet.  It just happens the a tree fingerprint
      depends on its environment, which depends on the FilterSet representation.
      
      Let's provide a predictive __repr__ implementation, and consequently, a
      predictive fingerprint for Trees across Python versions.
      
      This fixes the following unittest failure on Python 3:
      
         FAIL: test_fingerprint (selftests.unit.test_tree.TreeNode)
         ----------------------------------------------------------------------
         Traceback (most recent call last):
           File "/home/cleber/src/avocado/avocado/selftests/unit/test_tree.py", line 63, in test_fingerprint
             "/foo{},{},FilterSet([]),FilterSet([])")
         AssertionError: '/foo{},{},FilterSet(),FilterSet()' != '/foo{},{},FilterSet([]),FilterSet([])'
         - /foo{},{},FilterSet(),FilterSet()
         + /foo{},{},FilterSet([]),FilterSet([])
         ?                     ++            ++
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      f594df04
  10. 29 1月, 2018 1 次提交
  11. 25 1月, 2018 4 次提交
  12. 24 1月, 2018 4 次提交
  13. 23 1月, 2018 7 次提交