Backport test_getfilesystemencoding() from py3k
Backport test_getfilesystemencoding() from py3k

Note: On Python 3.1, file system encoding can be None.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator