1. 12 2月, 2018 3 次提交
  2. 10 2月, 2018 2 次提交
  3. 08 2月, 2018 2 次提交
  4. 07 2月, 2018 1 次提交
  5. 06 2月, 2018 2 次提交
  6. 04 2月, 2018 3 次提交
  7. 03 2月, 2018 1 次提交
  8. 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
  9. 29 1月, 2018 1 次提交
  10. 25 1月, 2018 4 次提交
  11. 24 1月, 2018 4 次提交
  12. 23 1月, 2018 9 次提交
  13. 22 1月, 2018 4 次提交
  14. 20 1月, 2018 2 次提交
  15. 19 1月, 2018 1 次提交