2 """Tests the compat module"""
3 from __future__
import absolute_import
, division
, unicode_literals
6 from cola
import compat
10 """Test the core.decode function"""
11 key
= 'COLA_UNICODE_TEST'
13 compat
.setenv(key
, value
)
14 assert key
in os
.environ
18 assert key
not in os
.environ
19 assert not os
.getenv(key
)