Commit c3614a83 authored by Reinout van Rees's avatar Reinout van Rees

Noting that the tests run fine on python3

parent 6f7a1ba4
...@@ -1159,7 +1159,7 @@ because of the missing target file. ...@@ -1159,7 +1159,7 @@ because of the missing target file.
def unicode_filename_doesnt_break_hash(): def unicode_filename_doesnt_break_hash():
""" """
Buildout's _dir_hash() used to break on non-ascii filenames. Buildout's _dir_hash() used to break on non-ascii filenames on python 2.
>>> mkdir('héhé') >>> mkdir('héhé')
>>> write('héhé', 'héhé.py', >>> write('héhé', 'héhé.py',
...@@ -1167,7 +1167,7 @@ Buildout's _dir_hash() used to break on non-ascii filenames. ...@@ -1167,7 +1167,7 @@ Buildout's _dir_hash() used to break on non-ascii filenames.
... print('Example filename from pyramid tests') ... print('Example filename from pyramid tests')
... ''') ... ''')
>>> from zc.buildout.buildout import _dir_hash >>> from zc.buildout.buildout import _dir_hash
>>> _dir_hash('héhé') >>> dont_care = _dir_hash('héhé')
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment