1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

lib/testtools: fix use of a non-existent word (existant)

This commit is contained in:
Michael Adam 2012-06-11 17:37:44 +02:00
parent 0688cf102d
commit 9995257127

View File

@ -147,7 +147,7 @@ class TestGetSourceEncoding(testtools.TestCase):
self.addCleanup(os.remove, self.filename)
self.addCleanup(linecache.cache.pop, self.filename, None)
def test_nonexistant_file_as_ascii(self):
def test_nonexistent_file_as_ascii(self):
"""When file can't be found, the encoding should default to ascii"""
self.assertEquals("ascii", _get_source_encoding(self.filename))